mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
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:
parent
9e76745191
commit
cd59b28ce9
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue