]> 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)
commit1959305c797de41255ce577045ea5658f4bc914b
tree953f205f20f82e79d5501db326d72d40b787fa71
parent4bd5f9cc86f8f779416bb98ece1fb71d1b1f0102
parenta323e858eca4ff2e9d3b85523445b9e8793f36d0
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>