mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 18:35:26 +07:00
980f140493
The driver uses a private lock for synchronization of the xmit function and the xmit completion handler, but since the NETIF_F_LLTX flag is not set, the xmit function is also called with the xmit_lock held. On the other hand the completion handler uses the reverse locking order by first taking the private lock and (in case that the tx queue had been stopped) then the xmit_lock. Improve the locking by removing the private lock and using only the xmit_lock for synchronization instead. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
sxgbe_common.h | ||
sxgbe_core.c | ||
sxgbe_desc.c | ||
sxgbe_desc.h | ||
sxgbe_dma.c | ||
sxgbe_dma.h | ||
sxgbe_ethtool.c | ||
sxgbe_main.c | ||
sxgbe_mdio.c | ||
sxgbe_mtl.c | ||
sxgbe_mtl.h | ||
sxgbe_platform.c | ||
sxgbe_reg.h |