diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index faa48410195efba4df78e2fabc18226f3c96ec00..8ae8520baaf3b4dd2b375022cc2860403aed5121 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -3176,7 +3176,9 @@ static void sky2_reset(struct sky2_hw *hw) static void sky2_detach(struct net_device *dev) { if (netif_running(dev)) { + netif_tx_lock(dev); netif_device_detach(dev); /* stop txq */ + netif_tx_unlock(dev); sky2_down(dev); } }