OSDN Git Service

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)
commite4844c9c62a0fe47980d6c3d4b7a096a5d755925
treebcc0a2ffd4c99e2d927fcaaa1bc547ab8efca4d3
parent8866df9264a34e675b4ee8a151db819b87cce2d3
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