net: gro: avoid re-computing truesize twice on recycle
authorPaolo Abeni <pabeni@redhat.com>
Fri, 4 Feb 2022 11:28:36 +0000 (12:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Feb 2022 15:13:52 +0000 (15:13 +0000)
commit7881453e4adf497cf9109c84fa21eedda9ac6164
treeb3d6dd7816e624cd7554ebef1608612e4dbf0e80
parentc3664d913dc115cab4a5fdb5634df4887048000e
net: gro: avoid re-computing truesize twice on recycle

After commit 5e10da5385d2 ("skbuff: allow 'slow_gro' for skb
carring sock reference") and commit af352460b465 ("net: fix GRO
skb truesize update") the truesize of the skb with stolen head is
properly updated by the GRO engine, we don't need anymore resetting
it at recycle time.

v1 -> v2:
 - clarify the commit message (Alexander)

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/gro.c