diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-03-13 18:52:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-15 10:19:03 +0300 |
commit | 58b09919626bf9067345289212ec030c61eb1034 (patch) | |
tree | 88a92c876cccfbad9904f97e4afd5e2e607fb25b /kernel/sysctl.c | |
parent | 7a1d0e61f11676f066dc3571543b8e104ff0d055 (diff) | |
download | linux-58b09919626bf9067345289212ec030c61eb1034.tar.xz |
mptcp: create msk early
This change moves the mptcp socket allocation from mptcp_accept() to
subflow_syn_recv_sock(), so that subflow->conn is now always set
for the non fallback scenario.
It allows cleaning up a bit mptcp_accept() reducing the additional
locking and will allow fourther cleanup in the next patch.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions