Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b86b47a3 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller
Browse files

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: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 59a51358
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -253,6 +253,7 @@ static struct pernet_operations netlink_tap_net_ops = {
	.exit = netlink_tap_exit_net,
	.exit = netlink_tap_exit_net,
	.id   = &netlink_tap_net_id,
	.id   = &netlink_tap_net_id,
	.size = sizeof(struct netlink_tap_net),
	.size = sizeof(struct netlink_tap_net),
	.async = true,
};
};


static bool netlink_filter_tap(const struct sk_buff *skb)
static bool netlink_filter_tap(const struct sk_buff *skb)