Commit cd59b28ce9491243a14947376332689de6ec568a

Authored by Kirill Tkhai
Committed by David S. Miller
1 parent 9e76745191

net: Convert ppp_net_ops

These pernet_operations are similar to bond_net_ops. Exit method
unregisters all net ppp devices, and it looks like another
pernet_operations are not interested in foreign net ppp list.
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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/ppp/ppp_generic.c
... ... @@ -971,6 +971,7 @@
971 971 .exit = ppp_exit_net,
972 972 .id = &ppp_net_id,
973 973 .size = sizeof(struct ppp_net),
  974 + .async = true,
974 975 };
975 976  
976 977 static int ppp_unit_register(struct ppp *ppp, int unit, bool ifname_is_set)