From: Kirill Tkhai Date: Mon, 26 Feb 2018 13:01:43 +0000 (+0300) Subject: net: Convert br_net_ops X-Git-Tag: v4.19~1326^2~354^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cec5fb3476e07833fea9a1e2d5f6c629078b4ae;p=platform%2Fkernel%2Flinux-rpi.git net: Convert br_net_ops These pernet_operations are similar to bond_net_ops. Exit method unregisters all net bridge devices, and it looks like another pernet_operations are not interested in foreign net bridge list. So, it's possible to mark them async. Signed-off-by: Kirill Tkhai Signed-off-by: David S. Miller --- diff --git a/net/bridge/br.c b/net/bridge/br.c index 6bf06e7..7770481 100644 --- a/net/bridge/br.c +++ b/net/bridge/br.c @@ -188,6 +188,7 @@ static void __net_exit br_net_exit(struct net *net) static struct pernet_operations br_net_ops = { .exit = br_net_exit, + .async = true, }; static const struct stp_proto br_stp_proto = {