diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-03-08 13:29:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-09 17:59:14 +0300 |
commit | 0dbdf819f4c12337fbe5c8551d97f312a44a7d87 (patch) | |
tree | 449cc2f18982cbadc52bdff6f6696bff457e7605 /MAINTAINERS | |
parent | 2c9ec169f70bb13f71cf91cf018680e6e4fc8ce6 (diff) | |
download | linux-0dbdf819f4c12337fbe5c8551d97f312a44a7d87.tar.xz |
net: lan966x: Add spinlock for frame transmission from CPU.
The registers used to inject a frame to one of the ports is shared
between all the net devices. Therefore, there can be race conditions for
accessing the registers when two processes send frames at the same time
on different ports.
To fix this, add a spinlock around the function
'lan966x_port_ifh_xmit()'.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions