summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYuval Mintz <yuvalmin@broadcom.com>2014-01-07 12:07:41 +0200
committerDavid S. Miller <davem@davemloft.net>2014-01-09 21:46:06 -0500
commit9a2620c877454bb4b5c19f73d4d1d7b375da3632 (patch)
treea7c905f03ae7947d017e3362ea3ff83db822d8ef /net
parenta04c0e2c0d4f284503fc1249bb4d2d7064c0bd0c (diff)
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 'net')
0 files changed, 0 insertions, 0 deletions