aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2014-06-06 01:57:00 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-07-24 01:02:48 -0700
commit508a8c9e264e1057f663e578c47c5ffa00adb160 (patch)
tree100bec18560d87670fa0d93c1f2d9ba06647b384 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'filter-move' (diff)
downloadwireguard-linux-508a8c9e264e1057f663e578c47c5ffa00adb160.tar.xz
wireguard-linux-508a8c9e264e1057f663e578c47c5ffa00adb160.zip
ixgbe: Fix possible null-dereference in error path
In ixgbe_probe, the code at label err_dma can dereference adapter when it has a NULL value. The check is there to avoid disabling a disabled device. When adapter is NULL, treat it as if the device is enabled, because it is enabled in that case. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions