On Sun, Nov 29, 2026 at 01:53:08PM +0000, Anurag Mandal wrote:
> ixgbe_alloc_rx_queue_mbufs() returns on the first
> allocation failure and leaves the mbufs already
> allocated in the software ring.
> 
> When called from ixgbe_dev_rx_queue_start(),
> nothing releases them and the queue stays in
> stopped state, so the ethdev layer does not
> call the queue stop callback either.
> The next start attempt overwrites the ring
> entries and leaks those mbufs.
> 
> Free the partially allocated mbufs before
> returning the error.
> 
> Fixes: 029fd06d40fa ("ixgbe: queue start and stop")
> Cc: [email protected]
> 
> Signed-off-by: Anurag Mandal <[email protected]>
> ---
>  drivers/net/intel/ixgbe/ixgbe_rxtx.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to