openwrt/target/linux/realtek/files-5.10/drivers
Jan Hoffmann 57df840670 realtek: don't treat first multicast portmask entry as reserved
There doesn't appear to be a reason to do this, as only the last entry
is actually reserved for unknown multicast.

This also fixes two issues:
 - As the increment happened after the bounds check, the value of the
   actually reserved last entry could be overwritten.
 - On deletion of entries, a corresponding decrement was missing,
   causing the wrong entry to be marked as free.

Fixes: cde31976e3 ("realtek: Add support for Layer 2 Multicast")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:09:00 +02:00
..
clk/realtek realtek: fix PLL register inconsistencies 2022-08-31 23:25:39 +02:00
clocksource realtek: timer: Register enabled scheduler clock 2023-01-28 15:23:03 +01:00
gpio realtek: separate lock of RTL8231 from phy driver 2022-10-08 11:05:02 +02:00
i2c realtek: Add support for RTL9300/RTL9310 I2C multiplexing 2022-02-17 15:21:46 +00:00
net realtek: don't treat first multicast portmask entry as reserved 2023-05-07 19:09:00 +02:00