tcp: let tcp_send_syn_data() build headless packets
authorEric Dumazet <edumazet@google.com>
Fri, 9 Jun 2023 20:42:44 +0000 (20:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jun 2023 10:38:54 +0000 (11:38 +0100)
commitfbf934068f6b93a8c4ddda293fc02b4eb3747323
tree8fb243da4c08b49f63f920471d3c826a2fe1ebca
parentf2f069da4c40dcf136db731c9fece17c3bbf7cdc
tcp: let tcp_send_syn_data() build headless packets

tcp_send_syn_data() is the last component in TCP transmit
path to put payload in skb->head.

Switch it to use page frags, so that we can remove dead
code later.

This allows to put more payload than previous implementation.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_output.c