tcp: let tcp_mtu_probe() build headless packets
authorEric Dumazet <edumazet@google.com>
Wed, 7 Jun 2023 21:41:13 +0000 (21:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Jun 2023 02:31:06 +0000 (19:31 -0700)
commit736013292e3ca5ec2aabb32daf72a73b1256ac57
tree911184991b13edd9eb1a19621958500a0e6dd5cd
parentf84ad5cffd889226e820a727211c0d0264fe7f34
tcp: let tcp_mtu_probe() build headless packets

tcp_mtu_probe() is still copying payload from skbs in the write queue,
using skb_copy_bits(), ignoring potential errors.

Modern TCP stack wants to only deal with payload found in page frags,
as this is a prereq for TCPDirect (host stack might not have access
to the payload)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20230607214113.1992947-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_output.c