From: Patrick McHardy Date: Wed, 5 Feb 2014 15:03:36 +0000 (+0000) Subject: netfilter: nft_ct: fix missing NFT_CT_L3PROTOCOL key in validity checks X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51292c0735eb2d9e29115cbf6264845e19a6c77d;p=linux-beck.git netfilter: nft_ct: fix missing NFT_CT_L3PROTOCOL key in validity checks The key was missing in the list of valid keys, add it. Signed-off-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nft_ct.c b/net/netfilter/nft_ct.c index feaf0f354a93..46e275403838 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: