From: Rob Herring Date: Fri, 30 Aug 2013 21:49:21 +0000 (-0500) Subject: net: calxedaxgmac: fix race between xgmac_tx_complete and xgmac_tx_err X-Git-Tag: v3.12-rc1~132^2~1^2~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8746f671ef04114ab25f5a35ec6219efbdf3703e;p=pandora-kernel.git 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 Signed-off-by: Rob Herring Signed-off-by: David S. Miller --- Reading git-diff-tree failed