diff options
author | 2023-08-11 17:57:14 +0200 | |
---|---|---|
committer | 2023-08-14 07:06:13 +0100 | |
commit | 131a627751e3474bc8e33009c032feecfe8d879f (patch) | |
tree | 60901d5029e40ec1d9c12a59abef8521a92cadd3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: Remove leftover include from nftables.h (diff) | |
download | wireguard-linux-131a627751e3474bc8e33009c032feecfe8d879f.tar.xz wireguard-linux-131a627751e3474bc8e33009c032feecfe8d879f.zip |
mptcp: avoid unneeded mptcp_token_destroy() calls
The MPTCP protocol currently clears the msk token both at connect() and
listen() time. That is needed to deal with failing connect() calls that
can create a new token while leaving the sk in TCP_CLOSE,SS_UNCONNECTED
status and thus allowing later connect() and/or listen() calls.
Let's deal with such failures explicitly, cleaning the token in a timely
manner and avoid the confusing early mptcp_token_destroy().
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions