diff options
author | Daniel Machon <daniel.machon@microchip.com> | 2024-12-05 14:54:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-09 13:30:16 +0000 |
commit | aa5fc889844ff9f920356c4b6535bf2c625457cd (patch) | |
tree | 57b6269ed46743828aa8f0f7f427dea5fa46ae1a /net/unix/af_unix.c | |
parent | 1cd7523f4baaf03026974553978210dc39e96665 (diff) | |
download | linux-aa5fc889844ff9f920356c4b6535bf2c625457cd.tar.gz linux-aa5fc889844ff9f920356c4b6535bf2c625457cd.tar.bz2 linux-aa5fc889844ff9f920356c4b6535bf2c625457cd.zip |
net: lan969x: fix the use of spin_lock in PTP handler
We are mixing the use of spin_lock() and spin_lock_irqsave() functions
in the PTP handler of lan969x. Fix this by correctly using the _irqsave
variants.
Fixes: 24fe83541755 ("net: lan969x: add PTP handler function")
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
[1]: https://lore.kernel.org/netdev/20241024-sparx5-lan969x-switch-driver-2-v2-10-a0b5fae88a0f@microchip.com/
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions