diff options
| author | 2018-11-25 20:58:44 +0200 | |
|---|---|---|
| committer | 2018-12-03 12:01:58 -0500 | |
| commit | ece9ca97ccdc845c0c48e204e5a6d9149b7a24b3 (patch) | |
| tree | c2ba1f9af8f9bb6ff186cf21be63a4f17f676a14 /drivers/infiniband/core/uverbs_uapi.c | |
| parent | RDMA/uverbs: Use the iterator for ib_uverbs_unmarshall_recv() (diff) | |
| download | wireguard-linux-ece9ca97ccdc845c0c48e204e5a6d9149b7a24b3.tar.xz wireguard-linux-ece9ca97ccdc845c0c48e204e5a6d9149b7a24b3.zip | |
RDMA/uverbs: Do not check the input length on create_cq/qp paths
If the user did not provide a long enough command buffer then the missing
bytes are forced to zero. There is no reason to check the length if a zero
value is OK.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_uapi.c')
0 files changed, 0 insertions, 0 deletions
