From: Kirill Tkhai Date: Mon, 26 Feb 2018 13:01:25 +0000 (+0300) Subject: net: Convert ppp_net_ops X-Git-Tag: v4.19~1326^2~354^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd59b28ce9491243a14947376332689de6ec568a;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index 255a5de..a393c1d 100644 --- a/drivers/net/ppp/ppp_generic.c +++ b/drivers/net/ppp/ppp_generic.c @@ -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)