aboutsummaryrefslogtreecommitdiffstats
path: root/net/mptcp/pm.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2025-02-07 13:59:25 +0000
committerPaolo Abeni <[email protected]>2025-02-11 11:46:37 +0000
commit8cdc56f99e6c33abc855891dbd4d802be06d1404 (patch)
treed5d572a299753de4f32adc6a68c78c9077d27837 /net/mptcp/pm.c
parentmptcp: pm: remove duplicated error messages (diff)
downloadkernel-8cdc56f99e6c33abc855891dbd4d802be06d1404.tar.gz
kernel-8cdc56f99e6c33abc855891dbd4d802be06d1404.zip
mptcp: pm: mark missing address attributes
mptcp_pm_parse_entry() will check if the given attribute is defined. If not, it will return a generic error: "missing address info". It might then not be clear for the userspace developer which attribute is missing, especially when the command takes multiple addresses. By using GENL_REQ_ATTR_CHECK(), the userspace will get a hint about which attribute is missing, making thing clearer. Note that this is what was already done for most of the other MPTCP NL commands, this patch simply adds the missing ones. Reviewed-by: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/mptcp/pm.c')
0 files changed, 0 insertions, 0 deletions