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]>

Reply via email to