diff options
author | 2023-02-07 14:04:14 +0100 | |
---|---|---|
committer | 2023-02-08 09:39:34 +0000 | |
commit | 21e43569685de4ad773fb060c11a15f3fd5e7ac4 (patch) | |
tree | 9b0b464844a8dd4b1d42f9806ba76ee2eb718e35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mptcp: do not wait for bare sockets' timeout (diff) | |
download | wireguard-linux-21e43569685de4ad773fb060c11a15f3fd5e7ac4.tar.xz wireguard-linux-21e43569685de4ad773fb060c11a15f3fd5e7ac4.zip |
mptcp: fix locking for setsockopt corner-case
We need to call the __mptcp_nmpc_socket(), and later subflow socket
access under the msk socket lock, or e.g. a racing connect() could
change the socket status under the hood, with unexpected results.
Fixes: 54635bd04701 ("mptcp: add TCP_FASTOPEN_CONNECT socket option")
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions