Skip to content

misc fixes for sockopt selftests

Geliang Tang mptcp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- close(pipefds[1]) in main() instead of process_one_client().
- close(pipefds[0]) on the server side too.
- patch 2 and patch 3 for -next

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: mptcp: sockopt: fix error messagestools/testing/selftests/net/mptcp/mptcp_sockopt.c+10 -60 replies
2/3selftests: mptcp: close server file descriptorstools/testing/selftests/net/mptcp/mptcp_inq.c tools/testing/selftests/net/mptcp/mptcp_sockopt.c+2 -00 replies
3/3selftests: mptcp: close server IPC descriptorstools/testing/selftests/net/mptcp/mptcp_inq.c tools/testing/selftests/net/mptcp/mptcp_sockopt.c+12 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatthieu Baerts (NGI0)
SeriesR-b
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH mptcp-next v3 0/3] misc fixes for sockopt selftests

From: Geliang Tang <[email protected]>

v3:
- close(pipefds[1]) in main() instead of process_one_client().
- close(pipefds[0]) on the server side too.
- patch 2 and patch 3 for -next

v2:
- patch 2: we should address this resource leak by adding the missing
close() calls on the server side, rather than by removing the correct
existing ones on the client side.
- patch 3: fix more error messages as Matt suggested.
- Link: https://patchwork.kernel.org/project/mptcp/cover/[email protected]/

This patch series addresses several resource management issues in the MPTCP sockopt selftests.

Geliang Tang (3):
selftests: mptcp: sockopt: fix error messages
selftests: mptcp: close server file descriptors
selftests: mptcp: close server IPC descriptors

 tools/testing/selftests/net/mptcp/mptcp_inq.c |  9 +++++--
 .../selftests/net/mptcp/mptcp_sockopt.c       | 25 +++++++++++++------
 2 files changed, 24 insertions(+), 10 deletions(-)
Signature · 1 line
2.48.1