summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-11-19 11:34:18 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-12-12 21:08:20 -0800
commitfdb47ae87af537b24977a03bc69cfe1c5c55ca62 (patch)
treee8b677b9c33457bf8e4870a5122508d9766ff955 /tools/perf/scripts/python
parentb7b713a8eaf325607d37229f024ad0b9f3e7f320 (diff)
i40evf: check rings before freeing resources
If the driver gets unloaded during reset recovery, it's possible that it will attempt to free resources when they're already free. Add a check to make sure that the Tx and Rx rings actually exist before dereferencing them to free resources. Change-ID: I4d2b7e9ede49f634d421a4c5deaa5446bc755eee 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions