OSDN Git Service

Merge branch 'mptcp-simplify-mptcp_accept'
authorDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 07:19:03 +0000 (00:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 07:19:03 +0000 (00:19 -0700)
commita79c838fb049cf4cfe1affc0b0c013c43e1561f1
tree6bb09c946b5720e84789c281caa47722e2d3bd6a
parent7a1d0e61f11676f066dc3571543b8e104ff0d055
parentdc093db5cc052b7879807a1d2906ed2f54bf386c
Merge branch 'mptcp-simplify-mptcp_accept'

Paolo Abeni says:

====================
mptcp: simplify mptcp_accept()

Currently we allocate the MPTCP master socket at accept time.

The above makes mptcp_accept() quite complex, and requires checks is several
places for NULL MPTCP master socket.

These series simplify the MPTCP accept implementation, moving the master socket
allocation at syn-ack time, so that we drop unneeded checks with the follow-up
patch.

v1 -> v2:
- rebased on top of 2398e3991bda7caa6b112a6f650fbab92f732b91
====================

Signed-off-by: David S. Miller <davem@davemloft.net>