e1000e: panic caused by Rx traffic arriving while interface going down
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 20 Apr 2013 05:37:29 +0000 (05:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Apr 2013 01:39:56 +0000 (18:39 -0700)
commita3b87a4c69619f5366b7225aafbf7983eed31a9a
tree00f2ca9dd83a136c47d2d4d93a753d0f822f304e
parent73e3dd6b45c4c870fc2641eb04c24e3f12dab1e0
e1000e: panic caused by Rx traffic arriving while interface going down

An "unable to handle kernel paging request" panic can occur when receiving
traffic while the interface is going down.  Wait for NAPI to be done with
current context after disabling interrupts and then disable NAPI.

See https://bugzilla.vyatta.com/show_bug.cgi?id=8837.

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c