aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/rtl839x
diff options
context:
space:
mode:
authorJan Hoffmann <jan@3e8.eu>2023-05-07 01:05:34 +0200
committerSander Vanheule <sander@svanheule.net>2023-05-07 19:15:34 +0200
commit98a3b52380b7c2632c60c54d86d5c562f5eabfe4 (patch)
tree53dcefa040f345d129866f89e8b5467418706f69 /target/linux/realtek/rtl839x
parent6772ae1172ad12cf81b141fd9c5441ad18c0dddf (diff)
downloadupstream-98a3b52380b7c2632c60c54d86d5c562f5eabfe4.tar.gz
upstream-98a3b52380b7c2632c60c54d86d5c562f5eabfe4.tar.bz2
upstream-98a3b52380b7c2632c60c54d86d5c562f5eabfe4.zip
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: 724e4af530cd ("realtek: Store and Restore MC memberships for port enable/disable") Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'target/linux/realtek/rtl839x')
0 files changed, 0 insertions, 0 deletions