diff options
author | 2020-08-27 11:35:36 -0500 | |
---|---|---|
committer | 2020-08-31 12:21:16 -0300 | |
commit | 7672dac30435b6e28aebaea189ffcb233e61760d (patch) | |
tree | c5fca5fe79f6be732369c19305c9b18f2b403be1 /drivers/infiniband/hw/i40iw/i40iw_cm.c | |
parent | RDMA/rxe: Add SPDX hdrs to rxe source files (diff) | |
download | linux-dev-7672dac30435b6e28aebaea189ffcb233e61760d.tar.xz linux-dev-7672dac30435b6e28aebaea189ffcb233e61760d.zip |
RDMA/rxe: Address an issue with hardened user copy
Change rxe pools to use kzalloc instead of kmem_cache to allocate memory
for rxe objects. The pools are not really necessary and they trigger
hardened user copy warnings as the ioctl framework copies the QP number
directly to userspace.
Also the general project to move object alloation to the core code will
eventually clean these out anyhow.
Link: https://lore.kernel.org/r/20200827163535.2632-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_cm.c')
0 files changed, 0 insertions, 0 deletions