diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-12-10 01:28:07 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-12 22:11:23 +0100 |
commit | e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7 (patch) | |
tree | 957ce9ff44e21c45c59b156f664f4678fc76c1a0 /ipc | |
parent | Merge branch 'update-joakim-zhang-entries' (diff) | |
download | linux-e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7.tar.xz linux-e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7.zip |
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 'ipc')
0 files changed, 0 insertions, 0 deletions