]> git.baikalelectronics.ru Git - kernel.git/commit
dwc_eth_qos: fix race condition in dwceqos_start_xmit
authorRabin Vincent <rabinv@axis.com>
Mon, 29 Feb 2016 15:22:30 +0000 (16:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:57:14 +0000 (14:57 -0500)
commit7560679675019a6d6f12fd0d2fd76d033f910165
tree6446f96b2ae1b14d03fecb4fc605e628c6e31f01
parent0d3cce0fb020558cbda5a20e197dee1097a2f28b
dwc_eth_qos: fix race condition in dwceqos_start_xmit

The xmit handler and the tx_reclaim tasklet had a race on the tx_free
variable which could lead to a tx timeout if tx_free was updated after
the tx complete interrupt.

Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc_eth_qos.c