sfc: lock TX queues when calling netif_device_detach()
authorDaniel Pieczko <dpieczko@solarflare.com>
Wed, 17 Oct 2012 12:21:23 +0000 (13:21 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Sat, 1 Dec 2012 02:37:35 +0000 (02:37 +0000)
commitc2f3b8e3a44b6fe9e36704e30157ebe1a88c08b1
treea33870250f24b7b832a52bb039aee7f4b20d842b
parent525d9e824018cd7cc8d8d44832ddcd363abfe6e1
sfc: lock TX queues when calling netif_device_detach()

The assertion of netif_device_present() at the top of
efx_hard_start_xmit() may fail if we don't do this.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/selftest.c