netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] mptcp: More specific netlink command errors
@ 2022-11-18 18:46 Mat Martineau
  2022-11-18 18:46 ` [PATCH net-next 1/2] mptcp: deduplicate error paths on endpoint creation Mat Martineau
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mat Martineau @ 2022-11-18 18:46 UTC (permalink / raw)
  To: netdev
  Cc: Mat Martineau, davem, kuba, pabeni, edumazet, matthieu.baerts, mptcp

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
-- 
2.38.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-21 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 18:46 [PATCH net-next 0/2] mptcp: More specific netlink command errors Mat Martineau
2022-11-18 18:46 ` [PATCH net-next 1/2] mptcp: deduplicate error paths on endpoint creation Mat Martineau
2022-11-18 18:46 ` [PATCH net-next 2/2] mptcp: more detailed error reporting " Mat Martineau
2022-11-21 13:10 ` [PATCH net-next 0/2] mptcp: More specific netlink command errors patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).