aboutsummaryrefslogtreecommitdiffstats
path: root/net/mptcp/pm.c
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <[email protected]>2025-02-07 13:59:26 +0000
committerPaolo Abeni <[email protected]>2025-02-11 11:46:37 +0000
commita25a8b10491bb94e905fdbef06f0f2b80fd9f74f (patch)
treec9cfdcb921b58d7d66421e5f2647a914642eca5b /net/mptcp/pm.c
parentmptcp: pm: mark missing address attributes (diff)
downloadkernel-a25a8b10491bb94e905fdbef06f0f2b80fd9f74f.tar.gz
kernel-a25a8b10491bb94e905fdbef06f0f2b80fd9f74f.zip
mptcp: pm: use NL_SET_ERR_MSG_ATTR when possible
Instead of only returning a text message with GENL_SET_ERR_MSG(), NL_SET_ERR_MSG_ATTR() can help the userspace developers by also reporting which attribute is faulty. When the error is specific to an attribute, NL_SET_ERR_MSG_ATTR() is now used. The error messages have not been modified in this commit. 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