diff mbox

[2/5] netfilter: nft_ct: fix missing NFT_CT_L3PROTOCOL key in validity checks

Message ID 1391612619-30347-3-git-send-email-kaber@trash.net
State Accepted
Headers show

Commit Message

Patrick McHardy Feb. 5, 2014, 3:03 p.m. UTC
The key was missing in the list of valid keys, add it.

Signed-off-by: Patrick McHardy <kaber@trash.net>
---
 net/netfilter/nft_ct.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Pablo Neira Ayuso Feb. 5, 2014, 11:24 p.m. UTC | #1
On Wed, Feb 05, 2014 at 03:03:36PM +0000, Patrick McHardy wrote:
> The key was missing in the list of valid keys, add it.

Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/netfilter/nft_ct.c b/net/netfilter/nft_ct.c
index 917052e..75ebfe7 100644
--- a/net/netfilter/nft_ct.c
+++ b/net/netfilter/nft_ct.c
@@ -226,6 +226,7 @@  static int nft_ct_init_validate_get(const struct nft_expr *expr,
 		if (tb[NFTA_CT_DIRECTION] != NULL)
 			return -EINVAL;
 		break;
+	case NFT_CT_L3PROTOCOL:
 	case NFT_CT_PROTOCOL:
 	case NFT_CT_SRC:
 	case NFT_CT_DST: