diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-03 21:20:34 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-03 15:26:18 -0300 |
commit | 20e2bcc4c2a8ede2fe6e335b9eea357bcfbe79bb (patch) | |
tree | 80ad77c93d61837d509ac4c62c85b7e8c6aa2b78 /include/rdma | |
parent | 8fc3beebf623092e446f4c88fca1699c868ca86d (diff) | |
download | lwn-20e2bcc4c2a8ede2fe6e335b9eea357bcfbe79bb.tar.gz lwn-20e2bcc4c2a8ede2fe6e335b9eea357bcfbe79bb.zip |
RDMA/core: Remove protection from wrong in-kernel API usage
The ib_create_named_qp() is kernel verb that is not used for user supplied
attributes. In such case, it is ULP responsibility to provide valid QP
attributes.
In-kernel API shouldn't check it, exactly like other functions that don't
check device capabilities.
Link: https://lore.kernel.org/r/b9b9e981d1af148b750750196e686199dbbf61f8.1628014762.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions