Skip to content

mptcp: More specific netlink command errors

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mptcp: deduplicate error paths on endpoint creationnet/mptcp/pm_netlink.c+13 -220 repliesApplied
2/2mptcp: more detailed error reporting on endpoint creationinclude/net/genetlink.h net/mptcp/pm_netlink.c+16 -110 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMat Martineau
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH net-next 0/2] mptcp: More specific netlink command errors

This series makes the error reporting for the MPTCP_PM_CMD_ADD_ADDR netlink command more specific, since there are multiple reasons the command could fail.

Note that patch 2 adds a GENL_SET_ERR_MSG_FMT() macro to genetlink.h, which is outside the MPTCP subsystem.

Patch 1 refactors in-kernel listening socket and endpoint creation to simplify the second patch.

Patch 2 updates the error values returned by the in-kernel path manager when it fails to create a local endpoint.

Paolo Abeni (2):
mptcp: deduplicate error paths on endpoint creation
mptcp: more detailed error reporting on endpoint creation

 include/net/genetlink.h |  3 +++
 net/mptcp/pm_netlink.c  | 59 ++++++++++++++++++-----------------------
 2 files changed, 29 insertions(+), 33 deletions(-)

base-commit: ab0377803dafc58f1e22296708c1c28e309414d6

Signature · 1 line
2.38.1