diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2020-05-16 03:42:24 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-29 01:50:01 +0300 |
commit | bc3a024101ca497bea4c69be4054c32a5c349f1d (patch) | |
tree | f843ad3fb8b45a330d380c5e8a11b4cf659f1f0b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 072064a43ef38fab8559edfbf12f918f8acdd85b (diff) | |
download | linux-bc3a024101ca497bea4c69be4054c32a5c349f1d.tar.xz |
ice: fix potential double free in probe unrolling
If ice_init_interrupt_scheme fails, ice_probe will jump to clearing up
the interrupts. This can lead to some static analysis tools such as the
compiler sanitizers complaining about double free problems.
Since ice_init_interrupt_scheme already unrolls internally on failure,
there is no need to call ice_clear_interrupt_scheme when it fails. Add
a new unroll label and use that instead.
Signed-off-by: Jacob Keller <jacob.e.keller@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions