Paolo Abeni ddb1a072f8 mptcp: move first subflow allocation at mpc access time
In the long run this will simplify the mptcp code and will
allow for more consistent behavior. Move the first subflow
allocation out of the sock->init ops into the __mptcp_nmpc_socket()
helper.

Since the first subflow creation can now happen after the first
setsockopt() we additionally need to invoke mptcp_sockopt_sync()
on it.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-17 08:18:34 +01:00
..
2022-05-20 15:29:00 -07:00
2020-06-26 16:21:39 -07:00
2022-05-05 19:00:16 -07:00
2022-05-05 19:00:16 -07:00
2023-04-17 08:18:34 +01:00
2023-04-17 08:18:34 +01:00
2023-04-17 08:18:34 +01:00