mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
net: Convert genl_pernet_ops
This pernet_operations create and destroy net::genl_sock. Foreign pernet_operations don't touch it. Signed-off-by: Kirill Tkhai <[email protected]> Acked-by: Andrei Vagin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
13da199c38
commit
83caf62c86
1 changed files with 1 additions and 0 deletions
|
|
@ -1035,6 +1035,7 @@ static void __net_exit genl_pernet_exit(struct net *net)
|
|||
static struct pernet_operations genl_pernet_ops = {
|
||||
.init = genl_pernet_init,
|
||||
.exit = genl_pernet_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init genl_init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue