diff options
author | 2016-01-15 14:33:19 -0800 | |
---|---|---|
committer | 2016-02-17 23:36:08 -0800 | |
commit | 9b9344f7ce19c5c481f203a0af3e120b965afcd9 (patch) | |
tree | 64bcf66cc430fce03c1ff3e07b494a569f17e20e /lib/bitmap.c | |
parent | i40e: better error reporting for nvmupdate (diff) | |
download | wireguard-linux-9b9344f7ce19c5c481f203a0af3e120b965afcd9.tar.xz wireguard-linux-9b9344f7ce19c5c481f203a0af3e120b965afcd9.zip |
i40evf: set adapter state on reset failure
If a reset fails to complete, the driver gets its affairs in order and
awaits the cold solace of rmmod. Unfortunately, it was not properly
setting the adapter state, which would cause a panic on rmmod, instead
of the desired surcease.
Set the adapter state to DOWN in this case, and avoid a panic.
Change-ID: I6fdd9906da52e023f8dc744f7da44b5d95278ca9
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>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions