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: [email protected]
>
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
> drivers/net/intel/iavf/iavf_ethdev.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
Acked-by: Bruce Richardson <[email protected]>