aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-08-11 17:57:26 +0200
committerDavid S. Miller <davem@davemloft.net>2023-08-14 07:06:14 +0100
commit39880bd808ad2ddfb9b7fee129568c3b814f0609 (patch)
treee339a4f8ccbea0530ebe7ae3a9b7bee5f8ca87c3 /tools/perf/scripts/python/exported-sql-viewer.py
parentmptcp: change the mpc check helper to return a sk (diff)
downloadwireguard-linux-39880bd808ad2ddfb9b7fee129568c3b814f0609.tar.xz
wireguard-linux-39880bd808ad2ddfb9b7fee129568c3b814f0609.zip
mptcp: get rid of msk->subflow
Such field is now unused just as a flag to control the first subflow deletion at close() time. Introduce a new bit flag for that and finally drop the mentioned field. As an intended side effect, now the first subflow sock is not freed before close() even for passive sockets. The msk has no open/active subflows if the first one is closed and the subflow list is singular, update accordingly the state check in mptcp_stream_accept(). Among other benefits, the subflow removal, reduces the amount of memory used on the client side for each mptcp connection, allows passive sockets to go through successful accept()/disconnect()/connect() and makes return error code consistent for failing both passive and active sockets. Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/290 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