diff options
author | Mitch Williams <[email protected]> | 2016-01-15 14:33:19 -0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-02-17 23:36:08 -0800 |
commit | 9b9344f7ce19c5c481f203a0af3e120b965afcd9 (patch) | |
tree | 64bcf66cc430fce03c1ff3e07b494a569f17e20e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 6e93d0c90fb2e20fc5b9dbdf28b45e91a16b4353 (diff) |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions