From: Yuval Mintz Date: Tue, 7 Jan 2014 10:07:41 +0000 (+0200) Subject: bnx2x: prevent WARN during driver unload X-Git-Tag: v3.13-rc8~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a2620c877454bb4b5c19f73d4d1d7b375da3632;p=pandora-kernel.git 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 Signed-off-by: Dmitry Kravkov Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed