diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 16:01:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 19:01:37 +0300 |
commit | 3cec5fb3476e07833fea9a1e2d5f6c629078b4ae (patch) | |
tree | eedabf58ae00f0602284c468d0fe5a38990b299b /net/bridge/br.c | |
parent | ef74c07cf17958d90bfda34a42b54a132fbee57e (diff) | |
download | linux-3cec5fb3476e07833fea9a1e2d5f6c629078b4ae.tar.xz |
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/br.c')
-rw-r--r-- | net/bridge/br.c | 1 |
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 = { |