]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: Move VLAN filtering syncing out of dsa_switch_bridge_leave
authorTobias Waldekranz <tobias@waldekranz.com>
Mon, 24 Jan 2022 21:09:43 +0000 (22:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:58 +0000 (13:57 +0200)
commit1217bfe1fa4239a303d032b34fa992cd8e6cd61c
tree82147e2451a1c2388a87ebf079059e5822d50398
parentb1a7046c275c47323dc98526d7ebd27e54049c6b
net: dsa: Move VLAN filtering syncing out of dsa_switch_bridge_leave

[ Upstream commit 381a730182f1d174e1950cd4e63e885b1c302051 ]

Most of dsa_switch_bridge_leave was, in fact, dealing with the syncing
of VLAN filtering for switches on which that is a global
setting. Separate the two phases to prepare for the cross-chip related
bugfix in the following commit.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/dsa/switch.c