diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-08-30 23:49:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 04:21:15 +0200 |
commit | 8746f671ef04114ab25f5a35ec6219efbdf3703e (patch) | |
tree | 1abd7ba59fd2cb956e99afee1f199e4fac92ecac /drivers/net/ethernet/nxp | |
parent | net: calxedaxgmac: read correct field in xgmac_desc_get_buf_len (diff) | |
download | linux-8746f671ef04114ab25f5a35ec6219efbdf3703e.tar.xz linux-8746f671ef04114ab25f5a35ec6219efbdf3703e.zip |
net: calxedaxgmac: fix race between xgmac_tx_complete and xgmac_tx_err
It is possible for the xgmac_tx_complete to run concurrently with
xgmac_tx_err since there are no locks. Fix this by moving the tx
error handling to a workqueue so we can disable napi while we reset
the transmitter.
Reported-by: Andreas Herrmann <andreas.herrmann@calxeda.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nxp')
0 files changed, 0 insertions, 0 deletions