summaryrefslogtreecommitdiffstats
path: root/lib/test_static_key_base.c
diff options
context:
space:
mode:
authorLiping Zhang <liping.zhang@spreadtrum.com>2016-08-22 16:57:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-25 13:12:03 +0200
commit960fa72f67f1be6891d63a5518860d1ae4e14b88 (patch)
tree964e1af7530b7629961c4c825bd50629f73db81f /lib/test_static_key_base.c
parentnetfilter: cttimeout: unlink timeout objs in the unconfirmed ct lists (diff)
downloadlinux-960fa72f67f1be6891d63a5518860d1ae4e14b88.tar.xz
linux-960fa72f67f1be6891d63a5518860d1ae4e14b88.zip
netfilter: nft_meta: improve the validity check of pkttype set expr
"meta pkttype set" is only supported on prerouting chain with bridge family and ingress chain with netdev family. But the validate check is incomplete, and the user can add the nft rules on input chain with bridge family, for example: # nft add table bridge filter # nft add chain bridge filter input {type filter hook input \ priority 0 \;} # nft add chain bridge filter test # nft add rule bridge filter test meta pkttype set unicast # nft add rule bridge filter input jump test This patch fixes the problem. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions