[PATCH v2 0/6] realtek: fix management of mdb entries

Jan Hoffmann jan at 3e8.eu
Sat May 6 16:05:29 PDT 2023

This series fixes multiple issues related to the L2 table and multicast 
table. That includes an issue that causes corruption of the port mask 
for unknown multicast forwarding, which can occur even when multicast 
snooping is disabled.

As discussed previously, these changes don't make multicast snooping
fully work, as that would still need additional changes in the kernel
for all DSA switches (see the follow-up messages to the original patch
series at [1] and [2] for details).

 - properly deal with redundant is_lagmember check by removing it

[1] http://lists.openwrt.org/pipermail/openwrt-devel/2023-March/040621.html
[2] https://lore.kernel.org/netdev/20230306134636.p2ufzoqk6kf3hu3y@skbuf/

Jan Hoffmann (6):
  realtek: fix writing/deletion of CAM entries
  realtek: don't treat first multicast portmask entry as reserved
  realtek: actually remove port from multicast portmask
  realtek: don't add CPU port to multicast portmasks
  realtek: remove store_mcgroups/load_mcgroups
  realtek: remove redundant is_lagmember checks

 .../files-5.10/drivers/net/dsa/rtl83xx/dsa.c  | 62 +++----------------
 .../drivers/net/dsa/rtl83xx/rtl838x.h         |  1 -
 .../files-5.15/drivers/net/dsa/rtl83xx/dsa.c  | 58 +++--------------
 .../drivers/net/dsa/rtl83xx/rtl838x.h         |  1 -
 4 files changed, 18 insertions(+), 104 deletions(-)


More information about the openwrt-devel mailing list