diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-07-15 18:16:58 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-19 06:14:23 +0300 |
commit | 4db2a5ef4ccbe6d138828284cfab241b434b5d95 (patch) | |
tree | fd16065cdf104ed7e2991d2ead1622fcbd8c4f1a /net/dsa/tag_sja1105.c | |
parent | 1e53834ce541d4fe271cdcca7703e50be0a44f8a (diff) | |
download | linux-4db2a5ef4ccbe6d138828284cfab241b434b5d95.tar.xz |
net: dsa: fix dsa_port_vlan_filtering when global
The blamed refactoring commit changed a "port" iterator with "other_dp",
but still looked at the slave_dev of the dp outside the loop, instead of
other_dp->slave from the loop.
As a result, dsa_port_vlan_filtering() would not call
dsa_slave_manage_vlan_filtering() except for the port in cause, and not
for all switch ports as expected.
Fixes: d0004a020bb5 ("net: dsa: remove the "dsa_to_port in a loop" antipattern from the core")
Reported-by: Lucian Banu <Lucian.Banu@westermo.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/tag_sja1105.c')
0 files changed, 0 insertions, 0 deletions