openwrt/target/linux/realtek/files-5.15/drivers/net
Jan Hoffmann 98a3b52380 realtek: remove store_mcgroups/load_mcgroups
The current implementation only works when store and load are called for
the same port without any other calls in between. This is because the
store function only saves a single port number instead of a portmask for
each group. It also doesn't take into account that the allocation of
multicast group entries might change between store/load calls.

As a result, the multicast port mask table gets corrupted. This also
includes the reserved entry for unknown multicast, which gets corrupted
even when no other mdb entries have been added.

Remove the code for storing/loading multicast groups entirely, as the
original commit message doesn't offer a convincing reason why this would
be necessary in the first place.

Fixes: 724e4af530 ("realtek: Store and Restore MC memberships for port enable/disable")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:15:34 +02:00
..
dsa/rtl83xx realtek: remove store_mcgroups/load_mcgroups 2023-05-07 19:15:34 +02:00
ethernet realtek: eth: Fix missing end of comment marker 2023-01-27 22:03:17 +01:00
phy realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00