aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2020-05-29 15:43:29 +0000
committerDavid S. Miller <[email protected]>2020-05-31 04:39:13 +0000
commit41be81a8d3d09acb9033799938306349328861f9 (patch)
tree20cb78f94610de7a0a694a4f87436d9db51a5f9b /tools/perf/scripts/python/syscall-counts.py
parentnet/sched: act_ct: add nat mangle action only for NAT-conntrack (diff)
downloadkernel-41be81a8d3d09acb9033799938306349328861f9.tar.gz
kernel-41be81a8d3d09acb9033799938306349328861f9.zip
mptcp: fix unblocking connect()
Currently unblocking connect() on MPTCP sockets fails frequently. If mptcp_stream_connect() is invoked to complete a previously attempted unblocking connection, it will still try to create the first subflow via __mptcp_socket_create(). If the 3whs is completed and the 'can_ack' flag is already set, the latter will fail with -EINVAL. This change addresses the issue checking for pending connect and delegating the completion to the first subflow. Additionally do msk addresses and sk_state changes only when needed. Fixes: 2303f994b3e1 ("mptcp: Associate MPTCP context with TCP socket") Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions