]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: relax check on MPC passive fallback
authorPaolo Abeni <pabeni@redhat.com>
Tue, 16 Jan 2024 17:18:47 +0000 (18:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:45:29 +0000 (15:45 -0800)
commit77c63a08cd633695b8221f993dfe19aae1d1ce2f
treec5adf89722189b71f90ed515f1e6749dd74d3b3a
parent7924ade13a49c0067da6ea13e398102979c0654a
mptcp: relax check on MPC passive fallback

[ Upstream commit c0f5aec28edf98906d28f08daace6522adf9ee7a ]

While testing the blamed commit below, I was able to miss (!)
packetdrill failures in the fastopen test-cases.

On passive fastopen the child socket is created by incoming TCP MPC syn,
allow for both MPC_SYN and MPC_ACK header.

Fixes: 724b00c12957 ("mptcp: refine opt_mp_capable determination")
Reviewed-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mptcp/subflow.c