mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:30:52 +07:00
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 <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
167f7ac723
commit
cb5e3400e7
@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user