]> 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)
commitdbb9bd0cfdecdcfd013ca2461bd84d5268251d13
tree6bb09c946b5720e84789c281caa47722e2d3bd6a
parentfe2fff46cc5448b9e6b43bbc74d1433cd22b0dbe
parent99be8fddec8c2eeda819d6fa948ac295274d25c5
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 e106062d02ae2e497e616bf728aafe34867c5ca7
====================

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