summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorRobert Malz <robertx.malz@intel.com>2021-02-26 13:19:32 -0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-03-29 10:37:49 -0700
commitb7eeb52721fe417730fc5adc5cbeeb5fe349ab26 (patch)
tree70efd5502f872ba6c247b3f54e94e9eeac6b798f /tools/perf/scripts
parent3176551979b92b02756979c0f1e2d03d1fc82b1e (diff)
ice: Cleanup fltr list in case of allocation issues
When ice_remove_vsi_lkup_fltr is called, by calling ice_add_to_vsi_fltr_list local copy of vsi filter list is created. If any issues during creation of vsi filter list occurs it up for the caller to free already allocated memory. This patch ensures proper memory deallocation in these cases. Fixes: 80d144c9ac82 ("ice: Refactor switch rule management structures and functions") Signed-off-by: Robert Malz <robertx.malz@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions