summaryrefslogtreecommitdiffstats
path: root/net/dsa/master.c
diff options
context:
space:
mode:
authorSvenning Sørensen <sss@secomea.com>2022-02-18 12:27:01 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-19 17:22:46 +0100
commit3d00827a90db6f79abc7cdc553887f89a2e0a184 (patch)
tree87af792a0ebae19e8f3a9e7f2c79f7b772da1804 /net/dsa/master.c
parentnet: Force inlining of checksum functions in net/checksum.h (diff)
downloadlinux-3d00827a90db6f79abc7cdc553887f89a2e0a184.tar.xz
linux-3d00827a90db6f79abc7cdc553887f89a2e0a184.zip
net: dsa: microchip: fix bridging with more than two member ports
Commit b3612ccdf284 ("net: dsa: microchip: implement multi-bridge support") plugged a packet leak between ports that were members of different bridges. Unfortunately, this broke another use case, namely that of more than two ports that are members of the same bridge. After that commit, when a port is added to a bridge, hardware bridging between other member ports of that bridge will be cleared, preventing packet exchange between them. Fix by ensuring that the Port VLAN Membership bitmap includes any existing ports in the bridge, not just the port being added. Fixes: b3612ccdf284 ("net: dsa: microchip: implement multi-bridge support") Signed-off-by: Svenning Sørensen <sss@secomea.com> Tested-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions