mbox series

[net-next,0/2] mptcp: More specific netlink command errors

Message ID 20221118184608.187932-1-mathew.j.martineau@linux.intel.com (mailing list archive)
Headers show
Series mptcp: More specific netlink command errors | expand

Message

Mat Martineau Nov. 18, 2022, 6:46 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 21, 2022, 1:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Fri, 18 Nov 2022 10:46:06 -0800 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] mptcp: deduplicate error paths on endpoint creation
    https://git.kernel.org/netdev/net-next/c/976d302fb616
  - [net-next,2/2] mptcp: more detailed error reporting on endpoint creation
    https://git.kernel.org/netdev/net-next/c/a3400e8746b6

You are awesome, thank you!