mptcp: tfo: record 'deny join id0' info
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 12 Sep 2025 12:52:23 +0000 (14:52 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 01:12:05 +0000 (18:12 -0700)
commit92da495cb65719583aa06bc946aeb18a10e1e6e2
treeb2a5a8748e48e426009adf0a4773da6bbe5bd81e
parent24733e193a0d68f20d220e86da0362460c9aa812
mptcp: tfo: record 'deny join id0' info

When TFO is used, the check to see if the 'C' flag (deny join id0) was
set was bypassed.

This flag can be set when TFO is used, so the check should also be done
when TFO is used.

Note that the set_fully_established label is also used when a 4th ACK is
received. In this case, deny_join_id0 will not be set.

Fixes: dfc8d0603033 ("mptcp: implement delayed seq generation for passive fastopen")
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250912-net-mptcp-pm-uspace-deny_join_id0-v1-4-40171884ade8@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c