summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 16:01:43 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:37 -0500
commit3cec5fb3476e07833fea9a1e2d5f6c629078b4ae (patch)
treeeedabf58ae00f0602284c468d0fe5a38990b299b /net/bridge
parentef74c07cf17958d90bfda34a42b54a132fbee57e (diff)
downloadlinux-3cec5fb3476e07833fea9a1e2d5f6c629078b4ae.tar.bz2
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 <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br.c b/net/bridge/br.c
index 6bf06e756df2..7770481a6506 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 = {