aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/kc.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-03-05 01:03:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-28 12:06:01 -0700
commitad0c4a9fa31036fefb30385edfbd1feb8971de97 (patch)
tree681dac7bef64aa48846aaabfebeb8a581d3f10ff /drivers/pps/kc.h
parentc62fe657e9c08b273aac0c3a0556ccdce9ede49a (diff)
downloadkernel_samsung_smdk4412-ad0c4a9fa31036fefb30385edfbd1feb8971de97.zip
kernel_samsung_smdk4412-ad0c4a9fa31036fefb30385edfbd1feb8971de97.tar.gz
kernel_samsung_smdk4412-ad0c4a9fa31036fefb30385edfbd1feb8971de97.tar.bz2
sfc: Disable soft interrupt handling during efx_device_detach_sync()
[ Upstream commit 35205b211c8d17a8a0b5e8926cb7c73e9a7ef1ad ] efx_device_detach_sync() locks all TX queues before marking the device detached and thus disabling further TX scheduling. But it can still be interrupted by TX completions which then result in TX scheduling in soft interrupt context. This will deadlock when it tries to acquire a TX queue lock that efx_device_detach_sync() already acquired. To avoid deadlock, we must use netif_tx_{,un}lock_bh(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pps/kc.h')
0 files changed, 0 insertions, 0 deletions