mptcp: relax check on MPC passive fallback
authorPaolo Abeni <pabeni@redhat.com>
Tue, 16 Jan 2024 17:18:47 +0000 (18:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2024 10:55:54 +0000 (10:55 +0000)
commitc0f5aec28edf98906d28f08daace6522adf9ee7a
tree6e1cbbfb1117b69608dc6a132c4081ee49055b41
parentc2945c435c999c63e47f337bc7c13c98c21d0bcc
mptcp: relax check on MPC passive fallback

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>
net/mptcp/subflow.c