]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9b5476c9dfce69673bb2e0bf49262be88c0d2e6
tree6bb09c946b5720e84789c281caa47722e2d3bd6a
parent084c1be4a12b98af28022c6aa2e988ab18da7dc4
parent8b4a02564bf9e794a229213a9b4fa367441b0683
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 6a5f89b860c0f66815ccb719e6d3d3c57bc5e79a
====================

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