e1000e: Only run S0ix flows if shutdown succeeded
authorMario Limonciello <mario.limonciello@dell.com>
Mon, 14 Dec 2020 19:29:32 +0000 (13:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:18:11 +0000 (20:18 +0100)
commit35a44ba54587ca9888e0b43151f5511f9b835e1e
treec195b92960de03aead8713fd4e9cee48e0bbdf2e
parente3cbce80be894293d5d90b657df0ea33d754068c
e1000e: Only run S0ix flows if shutdown succeeded

[ Upstream commit 808e0d8832cc81738f3e8df12dff0688352baf50 ]

If the shutdown failed, the part will be thawed and running
S0ix flows will put it into an undefined state.

Reported-by: Alexander Duyck <alexander.duyck@gmail.com>
Reviewed-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Tested-by: Yijun Shen <Yijun.shen@dell.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/e1000e/netdev.c