bridge: vlan: use synchronize_net() when holding RTNL
authorEric Dumazet <edumazet@google.com>
Fri, 9 Feb 2024 15:30:58 +0000 (15:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2024 12:17:02 +0000 (12:17 +0000)
commit48ebf6ebbc91a6e6b2c0ac1217573e81b37ef2ab
tree6c42aae5429cd71c18c594f6418c2796c62b1f35
parent4cd582ffa5a9a5d58e5bac9c5e55ca8eeabffddc
bridge: vlan: use synchronize_net() when holding RTNL

br_vlan_flush() and nbp_vlan_flush() should use synchronize_net()
instead of syncronize_rcu() to release RTNL sooner.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c