diff options
author | Patrick McHardy <kaber@trash.net> | 2014-02-05 19:03:36 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-02-06 03:05:33 +0400 |
commit | 51292c0735eb2d9e29115cbf6264845e19a6c77d (patch) | |
tree | ed08925a65db9c2ab514f6ec0e93a5671521cb7d /net | |
parent | ec2c9935688fbd5eaa7c975e3e21562c3da77363 (diff) | |
download | linux-51292c0735eb2d9e29115cbf6264845e19a6c77d.tar.xz |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nft_ct.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |