diff options
author | Wei Yongjun <[email protected]> | 2022-12-09 16:28:07 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-12 13:11:23 -0800 |
commit | e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7 (patch) | |
tree | 957ce9ff44e21c45c59b156f664f4678fc76c1a0 /lib/mpi/mpi-sub-ui.c | |
parent | 84698dad0641ffdb7273f3b31664ce32a2e1386c (diff) |
mptcp: netlink: fix some error return code
Fix to return negative error code -EINVAL from some error handling
case instead of 0, as done elsewhere in those functions.
Fixes: 9ab4807c84a4 ("mptcp: netlink: Add MPTCP_PM_CMD_ANNOUNCE")
Fixes: 702c2f646d42 ("mptcp: netlink: allow userspace-driven subflow establishment")
Cc: [email protected]
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions