Files
android_kernel_samsung_msm8…/net
Eric Dumazet 2e19b7cd39 tcp: gso: fix truesize tracking
[ Upstream commit 0d08c42cf9a71530fef5ebcfe368f38f2dd0476f ]

commit 6ff50cd55545 ("tcp: gso: do not generate out of order packets")
had an heuristic that can trigger a warning in skb_try_coalesce(),
because skb->truesize of the gso segments were exactly set to mss.

This breaks the requirement that

skb->truesize >= skb->len + truesizeof(struct sk_buff);

It can trivially be reproduced by :

ifconfig lo mtu 1500
ethtool -K lo tso off
netperf

As the skbs are looped into the TCP networking stack, skb_try_coalesce()
warns us of these skb under-estimating their truesize.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: Iced7cd04a2860fcc14815c4f5564e01840ac41e3
2020-12-12 21:36:56 +01:00
..
2019-08-05 14:20:47 +02:00
…
2020-12-12 21:36:55 +01:00
…
2020-12-12 21:36:56 +01:00
2020-12-12 21:36:55 +01:00
…
2020-08-08 16:42:51 +02:00
2020-08-08 14:50:16 +02:00
2014-07-22 14:33:44 -06:00
…
…