summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_rc.c
diff options
context:
space:
mode:
authorColin Ian King2016-09-09 09:15:37 +0200
committerDoug Ledford2016-09-16 20:14:23 +0200
commite4618d40eb3dc1a6d1f55f7150ea25bb23ab410a (patch)
tree587b46a8506c0d8bc6d66a81116e99fadd131bae /drivers/infiniband/hw/qib/qib_rc.c
parentIB/rxe: Fix kmem_cache leak (diff)
downloadkernel-qcow2-linux-e4618d40eb3dc1a6d1f55f7150ea25bb23ab410a.tar.gz
kernel-qcow2-linux-e4618d40eb3dc1a6d1f55f7150ea25bb23ab410a.tar.xz
kernel-qcow2-linux-e4618d40eb3dc1a6d1f55f7150ea25bb23ab410a.zip
IB/rdmavt: Don't vfree a kzalloc'ed memory region
The userspace memory region 'mr' is allocated with kzalloc in __rvt_alloc_mr however it is incorrectly being freed with vfree in __rvt_free_mr. Fix this by using kfree to free it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_rc.c')
0 files changed, 0 insertions, 0 deletions