aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-08-11 17:57:26 +0200
committerDavid S. Miller <[email protected]>2023-08-14 07:06:14 +0100
commit39880bd808ad2ddfb9b7fee129568c3b814f0609 (patch)
treee339a4f8ccbea0530ebe7ae3a9b7bee5f8ca87c3 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent3f326a821b99812edb6d3c24bcb78377cae6e432 (diff)
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 <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions