]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_compat: ebtables 'nat' table is normal chain type
authorFlorian Westphal <fw@strlen.de>
Fri, 2 Nov 2018 10:33:37 +0000 (11:33 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 3 Nov 2018 12:28:03 +0000 (13:28 +0100)
commitc1b397d7c2a0c7360b4b046b35dabdef508100c3
treebcc0a2ffd4c99e2d927fcaaa1bc547ab8efca4d3
parent05c3f4edceb9bd9ce015f4d89303020a876b059a
netfilter: nft_compat: ebtables 'nat' table is normal chain type

Unlike ip(6)tables, the ebtables nat table has no special properties.
This bug causes 'ebtables -A' to fail when using a target such as
'snat' (ebt_snat target sets ".table = "nat"').  Targets that have
no table restrictions work fine.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c