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>
This commit is contained in:

committed by
David S. Miller

parent
9e76745191
commit
cd59b28ce9
@@ -971,6 +971,7 @@ static struct pernet_operations ppp_net_ops = {
|
||||
.exit = ppp_exit_net,
|
||||
.id = &ppp_net_id,
|
||||
.size = sizeof(struct ppp_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int ppp_unit_register(struct ppp *ppp, int unit, bool ifname_is_set)
|
||||
|
Reference in New Issue
Block a user