aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_iba7322.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2020-08-27 11:35:36 -0500
committerJason Gunthorpe <jgg@nvidia.com>2020-08-31 12:21:16 -0300
commit7672dac30435b6e28aebaea189ffcb233e61760d (patch)
treec5fca5fe79f6be732369c19305c9b18f2b403be1 /drivers/infiniband/hw/qib/qib_iba7322.c
parentRDMA/rxe: Add SPDX hdrs to rxe source files (diff)
downloadlinux-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/qib/qib_iba7322.c')
0 files changed, 0 insertions, 0 deletions