OSDN Git Service

netfilter: ebtables: use net_generic infra
authorFlorian Westphal <fw@strlen.de>
Thu, 1 Apr 2021 14:11:09 +0000 (16:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Apr 2021 22:34:52 +0000 (00:34 +0200)
commit5b53951cfc85329d29df9d07b1e905f4563546a5
treead456ba688d01d631906e24b6f68009aeedcb953
parent7b1957b04956bfd8ea0280bf84a724e5cd0a7f44
netfilter: ebtables: use net_generic infra

ebtables currently uses net->xt.tables[BRIDGE], but upcoming
patch will move net->xt.tables away from struct net.

To avoid exposing x_tables internals to ebtables, use a private list
instead.

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