]> git.baikalelectronics.ru Git - kernel.git/commit
net: Convert ila_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:03:36 +0000 (16:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:01:39 +0000 (11:01 -0500)
commit16d6f9eee152256a6da4967301096be2dbb5df9e
tree147838c9530409e727bdd982ba0a58c1b07c9b64
parentde0da184b75f327682a5da8aec74fd3fc43b7f45
net: Convert ila_net_ops

These pernet_operations register and unregister nf hooks.
Also they populate and depopulate ila_net_id-pointed hash
table. The table is changed by hooks during skb processing
and via netlink request. It looks impossible for another
net pernet_operations to force the table reading or writing,
so, they are able to be marked as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ila/ila_xlat.c