Re: [PATCH net] net: mvneta: fix possible use-after-free in mvneta_xdp_put_buff

2020-09-10 Thread David Miller
From: Lorenzo Bianconi Date: Thu, 10 Sep 2020 11:08:01 +0200 > Release first buffer as last one since it contains references > to subsequent fragments. This code will be optimized introducing > multi-buffer bit in xdp_buff structure. > > Fixes: ca0e014609f05 ("net: mvneta: move skb build after d

Re: [PATCH net] net: mvneta: fix possible use-after-free in mvneta_xdp_put_buff

2020-09-10 Thread Jesper Dangaard Brouer
On Thu, 10 Sep 2020 11:08:01 +0200 Lorenzo Bianconi wrote: > Release first buffer as last one since it contains references > to subsequent fragments. This code will be optimized introducing > multi-buffer bit in xdp_buff structure. > > Fixes: ca0e014609f05 ("net: mvneta: move skb build after des

[PATCH net] net: mvneta: fix possible use-after-free in mvneta_xdp_put_buff

2020-09-10 Thread Lorenzo Bianconi
Release first buffer as last one since it contains references to subsequent fragments. This code will be optimized introducing multi-buffer bit in xdp_buff structure. Fixes: ca0e014609f05 ("net: mvneta: move skb build after descriptors processing") Signed-off-by: Lorenzo Bianconi --- drivers/ne