diff options
| author | Eric Dumazet <[email protected]> | 2021-10-27 20:19:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-10-28 11:44:38 +0000 |
| commit | f401da475f98c1840d48c9e00a6eb228237357c0 (patch) | |
| tree | 384b480e7f297d518dd10a47e7d58e9c161a7e39 /net/mptcp/protocol.c | |
| parent | tcp: remove dead code from tcp_collapse_retrans() (diff) | |
| download | kernel-f401da475f98c1840d48c9e00a6eb228237357c0.tar.gz kernel-f401da475f98c1840d48c9e00a6eb228237357c0.zip | |
tcp: no longer set skb->reserved_tailroom
TCP/MPTCP sendmsg() no longer puts payload in skb->head,
we can remove not needed code.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.c')
| -rw-r--r-- | net/mptcp/protocol.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 10b336d21865..aa96d311bea0 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -1174,7 +1174,6 @@ static struct sk_buff *__mptcp_do_alloc_tx_skb(struct sock *sk, gfp_t gfp) if (likely(skb)) { if (likely(__mptcp_add_ext(skb, gfp))) { skb_reserve(skb, MAX_TCP_HEADER); - skb->reserved_tailroom = skb->end - skb->tail; INIT_LIST_HEAD(&skb->tcp_tsorted_anchor); return skb; } |
