mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-14 09:25:12 +00:00
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 <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
ec2c993568
commit
51292c0735
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user