diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-13 10:31:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-13 16:36:09 +0100 |
commit | b86b47a39598cdf17e0e826ebe1be21c798112cf (patch) | |
tree | a392bcdcc156c560c61ebcf8320ae3850c2a3c1f /net/netlink/af_netlink.c | |
parent | net: Convert diag_net_ops (diff) | |
download | linux-b86b47a39598cdf17e0e826ebe1be21c798112cf.tar.xz linux-b86b47a39598cdf17e0e826ebe1be21c798112cf.zip |
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>
Diffstat (limited to 'net/netlink/af_netlink.c')
-rw-r--r-- | net/netlink/af_netlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index b3065908e146..63cb55d3c2fd 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -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) |