From: Kirill Tkhai Date: Tue, 13 Feb 2018 09:30:08 +0000 (+0300) Subject: net: Convert packet_net_ops X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cb5e3400e78598e1eb872954516a02ba85926d84;p=openwrt%2Fstaging%2Fblogic.git net: Convert packet_net_ops These pernet_operations just create and destroy /proc entry, and another operations do not touch it. Also, nobody else are interested in foreign net::packet::sklist. Signed-off-by: Kirill Tkhai Acked-by: Andrei Vagin Signed-off-by: David S. Miller --- diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 616cb9c18f88..2c5a6fe5d749 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -4557,6 +4557,7 @@ static void __net_exit packet_net_exit(struct net *net) static struct pernet_operations packet_net_ops = { .init = packet_net_init, .exit = packet_net_exit, + .async = true, };