Re: [PATCH net] net: mvpp2: fix memory leak in mvpp2_rx

2020-08-03 Thread David Miller
From: Lorenzo Bianconi Date: Fri, 31 Jul 2020 10:38:32 +0200 > 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 Applied and queued up for -stable, thank you.

Re: [PATCH net] net: mvpp2: fix memory leak in mvpp2_rx

2020-07-31 Thread Matteo Croce
> 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 I think that mvpp2_rx() has changed a bit in net-next due to the XDP support, but it should apply too. Acked-by: Matte

[PATCH net] net: mvpp2: fix memory leak in mvpp2_rx

2020-07-31 Thread Lorenzo Bianconi
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 --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mar