diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-05-17 22:16:15 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-19 06:06:32 +0300 |
commit | e76c8ef5cc5b77debe711717f61a3fbf24904873 (patch) | |
tree | 4a9ec03388a47f8ea7aab0341921e79a8c50fe54 /net/mptcp/options.c | |
parent | 711bdd5141d81ab21dbe0a533024d594210d5ba4 (diff) | |
download | linux-e76c8ef5cc5b77debe711717f61a3fbf24904873.tar.xz |
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/options.c')
0 files changed, 0 insertions, 0 deletions