summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLi Heng <liheng40@huawei.com>2020-07-25 05:56:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-19 09:16:16 +0300
commit3a2cd06a3d93ea4018cf1938fcfdbad868923232 (patch)
treee5fece1f5fe56298debcbd1c7077af1d3aa714a3 /security
parent16416a1587430783a33b7cafc5727938428599ec (diff)
downloadlinux-3a2cd06a3d93ea4018cf1938fcfdbad868923232.tar.xz
RDMA/core: Fix return error value in _ib_modify_qp() to negative
[ Upstream commit 47fda651d5af2506deac57d54887cf55ce26e244 ] The error codes in _ib_modify_qp() are supposed to be negative errno. Fixes: 7a5c938b9ed0 ("IB/core: Check for rdma_protocol_ib only after validating port_num") Link: https://lore.kernel.org/r/1595645787-20375-1-git-send-email-liheng40@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Li Heng <liheng40@huawei.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions