]> 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)
commitab28878dcdddd1f9a65b205d0a7cfcf2a17bb2dc
treee694baf5e3128978dd866caf4cbf7c7b88f806ca
parenta83cef4429df9ba21ec205e93bcb6669d127137d
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