]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: factor out tcp_build_frag()
authorPaolo Abeni <pabeni@redhat.com>
Mon, 16 Nov 2020 09:48:02 +0000 (10:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Nov 2020 18:46:06 +0000 (10:46 -0800)
commit5058198655489045a476c19f0d237913d970a003
treee694baf5e3128978dd866caf4cbf7c7b88f806ca
parent595b1a3e8c8c905acc1118ed23bb078c574681c7
tcp: factor out tcp_build_frag()

Will be needed by the next patch, as MPTCP needs to handle
directly the error/memory-allocation-needed path.

No functional changes intended.

Additionally let MPTCP code access the tcp_remove_empty_skb()
helper.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tcp.h
net/ipv4/tcp.c