From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8982229979352609269==" MIME-Version: 1.0 From: Paolo Abeni To: mptcp at lists.01.org Subject: [MPTCP] [PATCH v2 0/9] add locking to PM APis, implement PM netlink Date: Fri, 21 Feb 2020 17:17:21 +0100 Message-ID: X-Status: X-Keywords: X-UID: 3717 --===============8982229979352609269== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This implement the locking required by the PM to allow concurent subflow accessing the msk PM data in a safe way. Such data is protected via a msk-l= evel spinlock. It relies on the Double checked locking to avoid contention in the most common scenarion (no or very little PM "actions"). Additionally changes more than a bit the PM hooks/APIs, to be hopefully sim= pler and avoiding duplicate code (no v4/v6 variant, work queue management done b= y the core PM infra). It also introduce the PM netlink - it replace the current basic ones, the related patch has been dropped locally. git tree available at: https://github.com/pabeni/mptcp/tree/mptcp_net-next_part3_6 changes from v1: - 2 new patches: mp_join self-tests (9/9) and a specific mp_join fix (6/9) - fixed several bugs as pointed out by the above tests - added support for bind to interface changes from RFC: - cleanup uAPIs - added self-tests for the uAPIs - fixed ton of bugs - included feedback from Mat include/uapi/linux/mptcp.h | 53 + net/mptcp/Makefile | 3 = net/mptcp/options.c | 60 - net/mptcp/pm.c | 353 +++------ net/mptcp/pm_netlink.c | 828 +++++++++++++++++= +++++ net/mptcp/protocol.c | 14 = net/mptcp/protocol.h | 113 +-- net/mptcp/subflow.c | 65 + tools/testing/selftests/net/mptcp/Makefile | 5 = tools/testing/selftests/net/mptcp/mptcp_connect.c | 19 = tools/testing/selftests/net/mptcp/mptcp_join.sh | 295 +++++++ tools/testing/selftests/net/mptcp/pm_netlink.sh | 123 +++ tools/testing/selftests/net/mptcp/pm_nl_ctl.c | 600 +++++++++++++++ 13 files changed, 2218 insertions(+), 313 deletions(-) --===============8982229979352609269==--