mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-18 08:35:03 +00:00
99343cfa4f
To remove an entry to the MAC table, it is required first to setup the
entry and then issue a command for the MAC to forget the entry.
So if it happens for two threads to remove simultaneously an entry
in MAC table then it would be a race condition.
Fix this by using lan966x->mac_lock to protect the HW access.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
lan966x_ethtool.c | ||
lan966x_fdb.c | ||
lan966x_fdma.c | ||
lan966x_ifh.h | ||
lan966x_mac.c | ||
lan966x_main.c | ||
lan966x_main.h | ||
lan966x_mdb.c | ||
lan966x_phylink.c | ||
lan966x_port.c | ||
lan966x_ptp.c | ||
lan966x_regs.h | ||
lan966x_switchdev.c | ||
lan966x_vlan.c | ||
Makefile |