net: add might_sleep() call to napi_disable
net: add might_sleep() call to napi_disable

napi_disable uses an msleep() call to wait for outstanding napi work to be
finished after setting the disable bit. It does not always sleep incase there
was no outstanding work. This resulted in a rare bug in ixgbe_down operation
where a napi_disable call took place inside of a local_bh_disable()d context.
In order to enable easier detection of future sleep while atomic BUGs, this
patch adds a might_sleep() call, so that every use of napi_disable during
atomic context will be visible.

Signed-off-by: Jacob Keller <952d68dd7aa4b84e9f20381084cf63d55ea3c3b1@intel.com>
Cc: Eliezer Tamir <6b6063e36ca1bb86c1f2fa35aeb1f7937c6273cb@linux.intel.com>
Cc: Alexander Duyck <14b16e1046020048454db6cd357f0c60699c86fc@intel.com>
Cc: Hyong-Youb Kim <834ec7d17fbf3ede3470bec95659aad4c4525b6e@myri.com>
Cc: Amir Vadai <3780882ee6ebd9d2578cec41b2fe98d5a68e15d1@mellanox.com>
Cc: Dmitry Kravkov <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@broadcom.com>
Tested-by: Phil Schmitt <e59a1cb13110d2d5848864a809262db69840c26d@intel.com>
Signed-off-by: Jeff Kirsher <87e35f5be20bb3e67f4ba6b86f5f6be3085b1b3a@intel.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs