mptcp: avoid additional indirection in mptcp_listen()
authorPaolo Abeni <pabeni@redhat.com>
Fri, 11 Aug 2023 15:57:20 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 06:06:13 +0000 (07:06 +0100)
commit40f56d0c7043d16e9d49d1df6c02804c09ed5cd6
tree983dc1084ed7a5e472a92602045aa04cfc627986
parent71a9a874cd6beb074896519f762741fbc448f5be
mptcp: avoid additional indirection in mptcp_listen()

We are going to remove the first subflow socket soon, so avoid
the additional indirection via at listen() time. Instead call
directly the recently introduced helper on the first subflow sock.

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>
net/mptcp/protocol.c