]> asedeno.scripts.mit.edu Git - linux.git/commit
i40e: close client on remove and shutdown
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 30 Mar 2017 07:46:08 +0000 (00:46 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Apr 2017 03:22:28 +0000 (20:22 -0700)
commit921c467c6bf8f6fe5cd139b0535ad42b952330f0
tree2d75bfc36186c34715a9f7342804ec70ba94c6d3
parent8090f6183c56dd133a0fd6a9bcc09b1da8dbb0e8
i40e: close client on remove and shutdown

When the driver is removed or shut down, close any attached clients
(i.e. i40iw). This prevents a panic seen sometimes on forced driver
removal or system shutdown when iWarp is running.

Change-ID: I4f6161e5a73ffbb2fd5883567b007310302bfcb5
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c