diff options
author | 2024-03-05 12:04:32 +0100 | |
---|---|---|
committer | 2024-03-06 20:24:10 -0800 | |
commit | a4d68b160240815d7ca2f935ba690df33a525dd9 (patch) | |
tree | c85b3080f507ba2125e2f11340bcf5a7a65bd474 /drivers/net/macsec.c | |
parent | mptcp: update set_flags interfaces (diff) | |
download | wireguard-linux-a4d68b160240815d7ca2f935ba690df33a525dd9.tar.xz wireguard-linux-a4d68b160240815d7ca2f935ba690df33a525dd9.zip |
mptcp: set error messages for set_flags
In addition to returning the error value, this patch also sets an error
messages with GENL_SET_ERR_MSG or NL_SET_ERR_MSG_ATTR both for pm_netlink.c
and pm_userspace.c. It will help the userspace to identify the issue.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-3-c436ba5e569b@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions