diff options
author | 2023-08-11 17:57:22 +0200 | |
---|---|---|
committer | 2023-08-14 07:06:14 +0100 | |
commit | 1f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3 (patch) | |
tree | 36e1db550b415d8f0fff9f49565b20b1151c982e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mptcp: avoid additional indirection in mptcp_poll() (diff) | |
download | wireguard-linux-1f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3.tar.xz wireguard-linux-1f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3.zip |
mptcp: avoid unneeded indirection in mptcp_stream_accept()
We are going to remove the first subflow socket soon, so avoid
the additional indirection at accept() time. Instead access
directly the first subflow sock, and update mptcp_accept() to
operate on it. This allows dropping a duplicated check in
mptcp_accept().
No functional changes intended.
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