summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2013-09-28 11:13:13 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-10-22 16:33:43 +0400
commit00403f0488e9082a3744376c821ad241cdc47e70 (patch)
treebd8b6ddd7937ecde8c53ff5577a9a4a3ba604d30 /tools/perf/scripts/python/net_dropmonitor.py
parent1022cb6c35a8c815549566473504ac5feb0b5889 (diff)
downloadlinux-00403f0488e9082a3744376c821ad241cdc47e70.tar.xz
i40e: don't free nonexistent rings
Not all VSIs have rings! Check to see if rings were actually allocated before freeing them. This prevents a panic when tx_rings[0] is not allocated. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions