]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mptcp: introduce the mptcp_init_skb helper
authorPaolo Abeni <pabeni@redhat.com>
Sat, 27 Sep 2025 09:40:40 +0000 (11:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:23:35 +0000 (18:23 -0700)
commit9a0afe0db46720ce1a009c7dac168aa0584bd732
tree163c2ed61f61bd477a4e3a2611ccd5547963efbc
parente118cdc34dd109562b64f6a397f68cd33b041d5b
mptcp: introduce the mptcp_init_skb helper

Factor out all the skb initialization step in a new helper and
use it. Note that this change moves the MPTCP CB initialization
earlier: we can do such step as soon as the skb leaves the
subflow socket receive queues.

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Geliang Tang <geliang@kernel.org>
Tested-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250927-net-next-mptcp-rcv-path-imp-v1-4-5da266aa9c1a@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c