mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
net: Convert ping_v6_net_ops
These pernet_operations only register and unregister /proc entries, so it's possible to mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
58708caef5
commit
ac34cb6c0c
@ -240,6 +240,7 @@ static void __net_init ping_v6_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations ping_v6_net_ops = {
|
||||
.init = ping_v6_proc_init_net,
|
||||
.exit = ping_v6_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user