diff options
| author | Rob Herring <rob.herring@calxeda.com> | 2013-08-30 16:49:21 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-09-03 22:21:15 -0400 |
| commit | 8746f671ef04114ab25f5a35ec6219efbdf3703e (patch) | |
| tree | 1abd7ba59fd2cb956e99afee1f199e4fac92ecac /arch/mips/include/asm/mach-netlogic/multi-node.h | |
| parent | ef07387faf33a95e011993200902d490b605407d (diff) | |
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 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions
