mptcp: avoid additional indirection in sockopt
authorPaolo Abeni <pabeni@redhat.com>
Fri, 11 Aug 2023 15:57:23 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2023 06:06:14 +0000 (07:06 +0100)
commitf0bc514bd5c1396d1f189e4aafd2c24372ce535a
treee85ecb3b055081a1144dc9ce70a2a3b9b7379929
parent1f6610b92ac3c4cd4b7904b1d00b776f9bf08ed3
mptcp: avoid additional indirection in sockopt

The mptcp sockopt infrastructure unneedly uses the first subflow
socket struct in a few spots. We are going to remove such field
soon, so use directly the first subflow sock instead.

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/sockopt.c