diff options
author | Paolo Abeni <pabeni@redhat.com> | 2025-07-14 18:41:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-15 17:31:25 -0700 |
commit | da9b2fc7b73d147d88abe1922de5ab72d72d7756 (patch) | |
tree | 2e2fbd0140a085a99fa42ab3724f3c299113595d /scripts/lib/abi/abi_parser.py | |
parent | def5b7b2643ebba696fc60ddf675dca13f073486 (diff) |
mptcp: reset fallback status gracefully at disconnect() time
mptcp_disconnect() clears the fallback bit unconditionally, without
touching the associated flags.
The bit clear is safe, as no fallback operation can race with that --
all subflow are already in TCP_CLOSE status thanks to the previous
FASTCLOSE -- but we need to consistently reset all the fallback related
status.
Also acquire the relevant lock, to avoid fouling static analyzers.
Fixes: b29fcfb54cd7 ("mptcp: full disconnect implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250714-net-mptcp-fallback-races-v1-3-391aff963322@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/abi/abi_parser.py')
0 files changed, 0 insertions, 0 deletions