Re: [PATCH net v2] net: fix up skbs delta_truesize in UDP GRO frag_list
From: Eric Dumazet
Date: Tue Mar 01 2022 - 20:23:22 EST
On Tue, Mar 1, 2022 at 3:23 AM lena wang <lena.wang@xxxxxxxxxxxx> wrote:
>
> The truesize for a UDP GRO packet is added by main skb and skbs in main
> skb's frag_list:
> skb_gro_receive_list
> p->truesize += skb->truesize;
>
>
>
> Fixes: 53475c5dd856 ("net: fix use-after-free when UDP GRO with shared fraglist")
> Signed-off-by: lena wang <lena.wang@xxxxxxxxxxxx>
> Acked-by: Paolo Abeni <pabeni@xxxxxxxxxx>
> ---
> change since v1:
> 1) add the fix tag.
> 2) add net subtree to the subject
> ---
> ---
> net/core/skbuff.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>