summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2022-12-09 16:28:07 -0800
committerJakub Kicinski <kuba@kernel.org>2022-12-12 13:11:23 -0800
commite0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7 (patch)
tree957ce9ff44e21c45c59b156f664f4678fc76c1a0 /net/ipv4
parent84698dad0641ffdb7273f3b31664ce32a2e1386c (diff)
downloadlinux-stable-e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7.tar.gz
linux-stable-e0fe1123ab2b07d2cd5475660bd0b4e6993ffaa7.tar.bz2
linux-stable-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 'net/ipv4')
0 files changed, 0 insertions, 0 deletions