]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'net-lan966x-fix-issues-with-mac-table'
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 Jul 2022 03:00:05 +0000 (20:00 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jul 2022 03:00:06 +0000 (20:00 -0700)
Horatiu Vultur says:

====================
net: lan966x: Fix issues with MAC table

The patch series fixes 2 issues:
- when an entry was forgotten the irq thread was holding a spin lock and then
  was talking also rtnl_lock.
- the access to the HW MAC table is indirect, so the access to the HW MAC
  table was not synchronized, which means that there could be race conditions.
====================

Link: https://lore.kernel.org/r/20220714194040.231651-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge