On Wed, Mar 02, 2022 at 10:40:20AM +0000, Svenning Sørensen wrote: > 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. > > Upstream commit 3d00827a90db6f79abc7cdc553887f89a2e0a184, backported to 5.16. > > Fixes: b3612ccdf284 ("net: dsa: microchip: implement multi-bridge support") > Signed-off-by: Svenning Sørensen <sss@xxxxxxxxxxx> > Tested-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > --- > drivers/net/dsa/microchip/ksz_common.c | 26 +++++++++++++++++++++++--- > 1 file changed, 23 insertions(+), 3 deletions(-) Now queued up, thanks. greg k-h