]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c3205fbad3f33963b0ed63b85980648233644e8
tree871f7d6a173721c7869bae6b807d963368c22f99
parentd3dca9936b80d347154373595b34d6119215884f
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