On Sun, Nov 29, 2026 at 01:53:12PM +0000, Anurag Mandal wrote:
> When Rx queue interrupts are enabled, the PF
> and VF start functions create eventfds with
> rte_intr_efd_enable().
> If start fails afterwards, the eventfds are not
> released: the ethdev layer does not call dev_stop
> after a failed start, and the next start creates
> new eventfds over the old ones.
> For the VF, close does not release them either,
> because ixgbevf_dev_stop() returns early once
> the adapter is stopped.
>
> Disable the eventfds on the start error paths,
> and free the PF interrupt vector list there as
> well, as dev_stop does.
>
> Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
> drivers/net/intel/ixgbe/ixgbe_ethdev.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Acked-by: Bruce Richardson <[email protected]>
- [PATCH 0/8] net/ixgbe: fix memory and resource leaks Anurag Mandal
- [PATCH 4/8] net/ixgbe: fix MAC address leak on devic... Anurag Mandal
- Re: [PATCH 4/8] net/ixgbe: fix MAC address leak ... Bruce Richardson
- [PATCH 7/8] net/ixgbe: fix eventfd leak on start fai... Anurag Mandal
- Re: [PATCH 7/8] net/ixgbe: fix eventfd leak on s... Bruce Richardson
- [PATCH 8/8] net/ixgbe: fix VF interrupt callback lea... Anurag Mandal
- Re: [PATCH 8/8] net/ixgbe: fix VF interrupt call... Bruce Richardson
- [PATCH 6/8] net/ixgbe: fix security context leak on ... Anurag Mandal
- Re: [PATCH 6/8] net/ixgbe: fix security context ... Bruce Richardson
- [PATCH 5/8] net/ixgbe: fix VF representor port leak Anurag Mandal
- Re: [PATCH 5/8] net/ixgbe: fix VF representor po... Bruce Richardson
- [PATCH 2/8] net/ixgbe: fix Tx queue leak on ring all... Anurag Mandal
- Re: [PATCH 2/8] net/ixgbe: fix Tx queue leak on ... Bruce Richardson
- [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on queue sto... Anurag Mandal
- Re: [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on q... Bruce Richardson

