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

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

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