Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice/base: cleanup filter list on error
[ upstream commit 34ede45 ] 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: c7dd159 ("net/ice/base: add virtual switch code") Signed-off-by: Robert Malz <robertx.malz@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com>
- Loading branch information