Re: [PATCH RFC] tcp: Do not reload skb pointer after skb_gro_receive().

2018-06-11 Thread Eric Dumazet
On 06/11/2018 06:00 PM, David Miller wrote: > > This is not necessary. skb_gro_receive() will never change what > 'head' points to. > > In it's original implementation (see commit 71d93b39e52e ("net: Add > skb_gro_receive")), it did: > > > + *head = nskb; > + nsk

[PATCH RFC] tcp: Do not reload skb pointer after skb_gro_receive().

2018-06-11 Thread David Miller
This is not necessary. skb_gro_receive() will never change what 'head' points to. In it's original implementation (see commit 71d93b39e52e ("net: Add skb_gro_receive")), it did: + *head = nskb; + nskb->next = p->next; + p->next = NULL; ===