diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2020-08-27 11:35:36 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-08-31 12:21:16 -0300 |
commit | 7672dac30435b6e28aebaea189ffcb233e61760d (patch) | |
tree | c5fca5fe79f6be732369c19305c9b18f2b403be1 /drivers/infiniband/ulp | |
parent | 63fa15dbd488457117e779f8a6b4917ba83f4b77 (diff) |
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/ulp')
0 files changed, 0 insertions, 0 deletions