Skip to content

Commit

Permalink
net: Convert wext_pernet_ops
Browse files Browse the repository at this point in the history
These pernet_operations initialize and purge net::wext_nlevents
queue, and are not touched by foreign pernet_operations.

Mark them async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kirill Tkhai authored and David S. Miller committed Feb 13, 2018
1 parent 83caf62 commit 6c0075d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/wireless/wext-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ static void __net_exit wext_pernet_exit(struct net *net)
static struct pernet_operations wext_pernet_ops = {
.init = wext_pernet_init,
.exit = wext_pernet_exit,
.async = true,
};

static int __init wireless_nlevent_init(void)
Expand Down

0 comments on commit 6c0075d

Please sign in to comment.