1
0
Fork 0

net: Convert netlink_tap_net_ops

These pernet_operations init just allocated net memory,
and they obviously can be executed in parallel in any
others.

v3: New

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
hifive-unleashed-5.1
Kirill Tkhai 2018-02-13 12:31:01 +03:00 committed by David S. Miller
parent 59a513587a
commit b86b47a395
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ static struct pernet_operations netlink_tap_net_ops = {
.exit = netlink_tap_exit_net,
.id = &netlink_tap_net_id,
.size = sizeof(struct netlink_tap_net),
.async = true,
};
static bool netlink_filter_tap(const struct sk_buff *skb)