diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-05-17 12:16:15 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-18 20:06:32 -0700 |
commit | e76c8ef5cc5b77debe711717f61a3fbf24904873 (patch) | |
tree | 4a9ec03388a47f8ea7aab0341921e79a8c50fe54 /net/mptcp/pm.c | |
parent | 711bdd5141d81ab21dbe0a533024d594210d5ba4 (diff) | |
download | lwn-e76c8ef5cc5b77debe711717f61a3fbf24904873.tar.gz lwn-e76c8ef5cc5b77debe711717f61a3fbf24904873.zip |
mptcp: refactor mptcp_stream_accept()
Rewrite the mptcp socket accept op, leveraging the new
__inet_accept() helper.
This way we can avoid acquiring the new socket lock twice
and we can avoid a couple of indirect calls.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/pm.c')
0 files changed, 0 insertions, 0 deletions