[PATCH v2 2/3] net/iavf: fix event handler leak on init failure

Bruce Richardson bruce.richardson at intel.com
Wed Nov 4 18:52:18 CET 2026


On Wed, Nov 04, 2026 at 09:55:08AM +0000, Ciara Loftus wrote:
> iavf_dev_init() takes a reference on the shared event handler, but
> does not release it if initialisation subsequently fails. The event
> thread and its pipe are then never released.
> 
> Release the reference on these error paths. Skip it during reset
> recovery, where no reference is taken.
> 
> Fixes: cb5c1b91f76f ("net/iavf: add thread for event callbacks")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
>  drivers/net/intel/iavf/iavf_ethdev.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the stable mailing list