net: fix GRO skb truesize update
authorPaolo Abeni <pabeni@redhat.com>
Wed, 4 Aug 2021 19:07:00 +0000 (21:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:32:31 +0000 (11:32 +0100)
commitaf352460b465d7a8afbeb3be07c0268d1d48a4d7
tree7127b0bd26a2bc9a6a76236ddb2db2241c4a19e1
parent839454801e08b8ff6c8d97007d044a53fe96f7fa
net: fix GRO skb truesize update

commit 5e10da5385d2 ("skbuff: allow 'slow_gro' for skb carring sock
reference") introduces a serious regression at the GRO layer setting
the wrong truesize for stolen-head skbs.

Restore the correct truesize: SKB_DATA_ALIGN(...) instead of
SKB_TRUESIZE(...)

Reported-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Fixes: 5e10da5385d2 ("skbuff: allow 'slow_gro' for skb carring sock reference")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c