]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2eb9d55109e5d04f39a98d96ccaf8076f6e180a9
tree953f205f20f82e79d5501db326d72d40b787fa71
parent290833193c7aada6ebb8062dcbb32150333c0266
parent5241e81411d0974d8884a8597ac4f88505da4800
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>