OSDN Git Service

net: Convert broute_net_ops, frame_filter_net_ops and frame_nat_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 5 Mar 2018 11:30:41 +0000 (14:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:48:27 +0000 (10:48 -0500)
commitec012f3b85159102662264bb5c3436c849d2b1b9
tree871f7d6a173721c7869bae6b807d963368c22f99
parent190f887c3cd0d07e53a7d44162c951451f4f5528
net: Convert broute_net_ops, frame_filter_net_ops and frame_nat_net_ops

These pernet_operations use ebt_register_table() and
ebt_unregister_table() to act on the tables, which
are used as argument in ebt_do_table(), called from
ebtables hooks.

Since there are no net-related bridge packets in-flight,
when the init and exit methods are called, these
pernet_operations are safe to be executed in parallel
with any other.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c