From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Mat Martineau <mathew.j.martineau@linux.intel.com>
Subject: [PATCH net-next v2 0/2] mptcp: simplify mptcp_accept()
Date: Fri, 13 Mar 2020 16:52:40 +0100 [thread overview]
Message-ID: <cover.1584114674.git.pabeni@redhat.com> (raw)
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
Paolo Abeni (2):
mptcp: create msk early
mptcp: drop unneeded checks
net/mptcp/options.c | 14 ++------
net/mptcp/protocol.c | 83 ++++++++++++++++++++++++--------------------
net/mptcp/protocol.h | 4 +--
net/mptcp/subflow.c | 50 ++++++++++++++------------
net/mptcp/token.c | 31 ++---------------
5 files changed, 79 insertions(+), 103 deletions(-)
--
2.21.1
next reply other threads:[~2020-03-13 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 15:52 Paolo Abeni [this message]
2020-03-13 15:52 ` [PATCH net-next v2 1/2] mptcp: create msk early Paolo Abeni
2020-03-13 16:08 ` Matthieu Baerts
2020-03-13 15:52 ` [PATCH net-next v2 2/2] mptcp: drop unneeded checks Paolo Abeni
2020-03-13 16:08 ` Matthieu Baerts
2020-03-15 7:19 ` [PATCH net-next v2 0/2] mptcp: simplify mptcp_accept() David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1584114674.git.pabeni@redhat.com \
--to=pabeni@redhat.com \
--cc=davem@davemloft.net \
--cc=mathew.j.martineau@linux.intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.