]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: remove dead code from tcp_sendmsg_locked()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Oct 2021 20:19:17 +0000 (13:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 16:26:35 +0000 (17:26 +0100)
commit68342755b9b2b49cc84e7191f04a16db29c481f0
tree8aaec77803764d0d8a324186644db2f4106e7208
parent0f482ad7b1a5c225870da800bc805bfaac4b25a8
tcp: remove dead code from tcp_sendmsg_locked()

[ Upstream commit 3ded97bc41a1e76e1e72eeb192331c01ceacc4bc ]

TCP sendmsg() no longer puts payload in skb head, we can remove
dead code.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 72377ab2d671 ("mptcp: more conservative check for zero probes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv4/tcp.c