i40evf: disable NAPI polling sooner
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 29 Jan 2015 07:17:18 +0000 (07:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 24 Feb 2015 01:13:19 +0000 (17:13 -0800)
commit748c434bfa956e3ac64793d14d3bdbe7befcb901
tree0a66190fcf3c2ef6e74f21ea4410fb8ffec8a599
parent30d71af54d3df9752cee70e320da8d58ec3292b4
i40evf: disable NAPI polling sooner

When closing the interface, disable NAPI polling before any other
activities. This fixes an occasional panic during close caused by the
driver trying to delete and clean rings at the same time.

Change-ID: Ib4d427b13d310258ea85b248d535da70ecf0c1e9
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c