diff options
author | David Miller <davem@davemloft.net> | 2018-06-12 04:00:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-12 06:00:56 +0300 |
commit | 6892286e9c09925780fe2cb6db3585b56b71fe8e (patch) | |
tree | d000676838c8e6e773f757619cf47dfa23397792 /net/netlink | |
parent | 0ca69d1399eefd481f926bb5f271ddc2da38d4f4 (diff) | |
download | linux-6892286e9c09925780fe2cb6db3585b56b71fe8e.tar.xz |
tcp: Do not reload skb pointer after skb_gro_receive().
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;
====================
This sequence was removed in commit 58025e46ea2d ("net: gro: remove
obsolete code from skb_gro_receive()")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions