On Sun, Nov 29, 2026 at 01:53:07PM +0000, Anurag Mandal wrote:
> When the descriptor ring memzone cannot be reserved in
> ixgbe_dev_tx_queue_setup(), the queue is released with
> ixgbe_tx_queue_release().
> That function does nothing while txq->ops is NULL, and
> ops is only set after the memzone reservation, so the
> queue structure is leaked.
>
> Free the queue structure directly on that error path.
>
> Fixes: 429c6d86b371 ("ixgbe: prepare for vector pmd")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
> drivers/net/intel/ixgbe/ixgbe_rxtx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Bruce Richardson <[email protected]>
- Re: [PATCH 4/8] net/ixgbe: fix MAC address leak on d... Bruce Richardson
- [PATCH 7/8] net/ixgbe: fix eventfd leak on start failure Anurag Mandal
- Re: [PATCH 7/8] net/ixgbe: fix eventfd leak on start... Bruce Richardson
- [PATCH 8/8] net/ixgbe: fix VF interrupt callback leak on ... Anurag Mandal
- Re: [PATCH 8/8] net/ixgbe: fix VF interrupt callback... Bruce Richardson
- [PATCH 6/8] net/ixgbe: fix security context leak on init ... Anurag Mandal
- Re: [PATCH 6/8] net/ixgbe: fix security context leak... Bruce Richardson
- [PATCH 5/8] net/ixgbe: fix VF representor port leak Anurag Mandal
- Re: [PATCH 5/8] net/ixgbe: fix VF representor port l... Bruce Richardson
- [PATCH 2/8] net/ixgbe: fix Tx queue leak on ring allocati... Anurag Mandal
- Re: [PATCH 2/8] net/ixgbe: fix Tx queue leak on ring... Bruce Richardson
- [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on queue stop Anurag Mandal
- Re: [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on queue... Bruce Richardson
- [PATCH 3/8] net/ixgbe: fix Rx mbuf leak on queue start fa... Anurag Mandal
- Re: [PATCH 3/8] net/ixgbe: fix Rx mbuf leak on queue... Bruce Richardson
- [PATCH v2 0/9] net/ixgbe: fix memory and resource leaks Anurag Mandal
- [PATCH v2 2/9] net/ixgbe: fix Tx queue leak on ring ... Anurag Mandal
- [PATCH v2 4/9] net/ixgbe: fix MAC address leak on de... Anurag Mandal
- [PATCH v2 7/9] net/ixgbe: fix eventfd leak on start ... Anurag Mandal
- [PATCH v2 1/9] net/ixgbe: fix Tx mbuf leak on queue ... Anurag Mandal
- [PATCH v2 9/9] net/ixgbe: fix VF interrupt callback ... Anurag Mandal

