summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorLiping Zhang <liping.zhang@spreadtrum.com>2016-09-22 16:28:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-25 14:54:04 +0200
commit7bfdde7045ad54d9fdccac70baffd094d9de73f8 (patch)
tree299515d8e6cfd77a65dba12479cf1337841c1a90 /net/batman-adv
parentnetfilter: nft_ct: unnecessary to require dir when use ct l3proto/protocol (diff)
downloadlinux-7bfdde7045ad54d9fdccac70baffd094d9de73f8.tar.xz
linux-7bfdde7045ad54d9fdccac70baffd094d9de73f8.zip
netfilter: nft_ct: report error if mark and dir specified simultaneously
NFT_CT_MARK is unrelated to direction, so if NFTA_CT_DIRECTION attr is specified, report EINVAL to the userspace. This validation check was already done at nft_ct_get_init, but we missed it in nft_ct_set_init. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions