diff options
author | Eric Dumazet <edumazet@google.com> | 2024-01-11 19:49:15 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-12 18:14:21 -0800 |
commit | be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb (patch) | |
tree | 59489496e06f47a2045f6d0ca90aa2a0e64466b9 /net/smc/smc_stats.h | |
parent | c1665273bdc7c201766c65e561c06711f2e050dc (diff) |
mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
subflow_finish_connect() uses four fields (backup, join_id, thmac, none)
that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set
in mptcp_parse_option()
Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: Peter Krystad <peter.krystad@linux.intel.com>
Cc: Matthieu Baerts <matttbe@kernel.org>
Cc: Mat Martineau <martineau@kernel.org>
Cc: Geliang Tang <geliang.tang@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20240111194917.4044654-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/smc_stats.h')
0 files changed, 0 insertions, 0 deletions