diff options
author | 2023-06-20 18:24:18 +0200 | |
---|---|---|
committer | 2023-06-21 22:44:54 -0700 | |
commit | c2b2ae3925b65070adb27d5a31a31c376f26dec7 (patch) | |
tree | f7fc3d3bda23abaea001e2c062001da2496d1b13 /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
download | wireguard-linux-c2b2ae3925b65070adb27d5a31a31c376f26dec7.tar.xz wireguard-linux-c2b2ae3925b65070adb27d5a31a31c376f26dec7.zip |
mptcp: handle correctly disconnect() failures
Currently the mptcp code has assumes that disconnect() can fail only
at mptcp_sendmsg_fastopen() time - to avoid a deadlock scenario - and
don't even bother returning an error code.
Soon mptcp_disconnect() will handle more error conditions: let's track
them explicitly.
As a bonus, explicitly annotate TCP-level disconnect as not failing:
the mptcp code never blocks for event on the subflows.
Fixes: 7d803344fdc3 ("mptcp: fix deadlock in fastopen error path")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Christoph Paasch <cpaasch@apple.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions