summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-31 01:49:21 +0400
committerDavid S. Miller <davem@davemloft.net>2013-09-04 06:21:15 +0400
commit8746f671ef04114ab25f5a35ec6219efbdf3703e (patch)
tree1abd7ba59fd2cb956e99afee1f199e4fac92ecac /tools
parentef07387faf33a95e011993200902d490b605407d (diff)
downloadlinux-8746f671ef04114ab25f5a35ec6219efbdf3703e.tar.xz
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 'tools')
0 files changed, 0 insertions, 0 deletions