[PATCH 4/7] net/ice: fix main VSI leak on init failure
Bruce Richardson
bruce.richardson at intel.com
Tue Oct 27 15:58:04 CET 2026
On Tue, Oct 27, 2026 at 10:51:34AM +0000, Anurag Mandal wrote:
> When ice_send_driver_ver(), ice_flow_init() or ice_reset_fxp_resource()
> fails in ice_dev_init(), the error path skips releasing the main VSI
> created by ice_pf_setup(). This leaks the VSI structure, its MAC
> filters and the VSI in hardware.
>
> Release the main VSI on these error paths.
>
> Fixes: 9481b0902efe ("net/ice: send driver version to firmware")
> Fixes: 96b25c496aad ("net/ice: fix memzone leak after device init failure")
Cc: stable at dpdk.org
>
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
> ---
> drivers/net/intel/ice/ice_ethdev.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list