diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-12-09 16:28:07 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-12 13:11:23 -0800 |
commit | e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7 (patch) | |
tree | 957ce9ff44e21c45c59b156f664f4678fc76c1a0 /include/net | |
parent | 84698dad0641ffdb7273f3b31664ce32a2e1386c (diff) | |
download | linux-e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7.tar.bz2 |
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: stable@vger.kernel.org
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions