mptcp: avoid additional indirection in mptcp_poll()
authorPaolo Abeni <pabeni@redhat.com>
Fri, 11 Aug 2023 15:57:21 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 06:06:14 +0000 (07:06 +0100)
commit5426a4ef6455c93e76a553eda0a1811bb0bbd214
tree4c134ca840c0fe984e9f5388281850f84513fa60
parent40f56d0c7043d16e9d49d1df6c02804c09ed5cd6
mptcp: avoid additional indirection in mptcp_poll()

We are going to remove the first subflow socket soon, so avoid
the additional indirection at poll() time. Instead access
directly 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