projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2c993
)
netfilter: nft_ct: fix missing NFT_CT_L3PROTOCOL key in validity checks
author
Patrick McHardy
<kaber@trash.net>
Wed, 5 Feb 2014 15:03:36 +0000
(15:03 +0000)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Wed, 5 Feb 2014 23:05:33 +0000
(
00:05
+0100)
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>
net/netfilter/nft_ct.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nft_ct.c
b/net/netfilter/nft_ct.c
index feaf0f354a930c6686900c5e039427201f1d48eb..46e2754038387cf978679e2fd4f1032b30e40bd6 100644
(file)
--- 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: