summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorYuval Mintz <yuvalmin@broadcom.com>2014-01-07 11:07:41 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-10 03:46:06 +0100
commit9a2620c877454bb4b5c19f73d4d1d7b375da3632 (patch)
treea7c905f03ae7947d017e3362ea3ff83db822d8ef /drivers/ide/ide.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadlinux-9a2620c877454bb4b5c19f73d4d1d7b375da3632.tar.xz
linux-9a2620c877454bb4b5c19f73d4d1d7b375da3632.zip
bnx2x: prevent WARN during driver unload
Starting with commit 80c33dd "net: add might_sleep() call to napi_disable" bnx2x fails the might_sleep tests causing a stack trace to appear whenever the driver is unloaded, as local_bh_disable() is being called before napi_disable(). This changes the locking schematics related to CONFIG_NET_RX_BUSY_POLL, preventing the need for calling local_bh_disable() and thus eliminating the issue. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/ide.c')
0 files changed, 0 insertions, 0 deletions