Re: [PATCH net] net: mvpp2: fix memory leak in mvpp2_rx
From: Matteo Croce <hidden>
Date: 2020-07-31 09:38:06
From: Matteo Croce <hidden>
Date: 2020-07-31 09:38:06
Release skb memory in mvpp2_rx() if mvpp2_rx_refill routine fails
Fixes: b5015854674b ("net: mvpp2: fix refilling BM pools in RX path")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>I think that mvpp2_rx() has changed a bit in net-next due to the XDP support, but it should apply too. Acked-by: Matteo Croce <redacted>