]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Tue, 10 Oct 2017 21:15:22 +0000 (14:15 -0700)
commitc28b3f45f1bb47913c5fbc341ba3c9430d2f53ee
tree4cebb09dfb22ae95c8a4ecd13158e53c5b58812d
parenta71925b9c7e0c032538a14c7d4371af8ebc18f59
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>
Orabug: 26785018
(cherry picked from commit 921c467c6bf8f6fe5cd139b0535ad42b952330f0)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c