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)
commitb6224a36de8bb30bfec9ff2bc45ed8002e79a79a
tree953f205f20f82e79d5501db326d72d40b787fa71
parentc32349f3257f329a01e776e02b577bf7af97f30b
parent675c807ae26b267233b97cd5006979a6bb8d54d4
Merge branch 'net-lan966x-fix-issues-with-mac-table'

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>