aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2020-05-15 17:42:24 -0700
committerJeff Kirsher <[email protected]>2020-05-28 15:50:01 -0700
commitbc3a024101ca497bea4c69be4054c32a5c349f1d (patch)
treef843ad3fb8b45a330d380c5e8a11b4cf659f1f0b /lib/mpi/mpi-sub-ui.c
parent072064a43ef38fab8559edfbf12f918f8acdd85b (diff)
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 <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions