Skip to content

mptcp: fix bug in userspace PM APIs

Kishen Maloor mptcp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

-Fixed code style.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Squash-to: mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCEnet/mptcp/pm_userspace.c+11 -80 replies
2/3Squash-to: mptcp: netlink: Add MPTCP_PM_CMD_REMOVEnet/mptcp/pm_userspace.c+10 -50 replies
3/3Squash-to: mptcp: netlink: allow userspace-driven subflow establishmentnet/mptcp/pm_userspace.c+32 -271 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH mptcp-next v2 0/3] mptcp: fix bug in userspace PM APIs

This series fixes issue #267:
https://github.com/multipath-tcp/mptcp_net-next/issues/267

Specifically, calls to mptcp_token_get_sock() from userspace PM APIs hold a reference to the msk which needs to be freed before leaving those functions. This was causing a memory leak which was caught in the CI debug build.

v2:
-Fixed code style.

Kishen Maloor (3):
Squash-to: mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCE
Squash-to: mptcp: netlink: Add MPTCP_PM_CMD_REMOVE
Squash-to: mptcp: netlink: allow userspace-driven subflow
establishment

 net/mptcp/pm_userspace.c | 93 +++++++++++++++++++++++-----------------
 1 file changed, 53 insertions(+), 40 deletions(-)

base-commit: e561667a821b0ecccba582520829f38da50567a3 --
2.31.1