diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-09-30 07:57:42 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-01 03:20:38 +0200 |
commit | 721ad7e643f7002efa398838693f90284ea216d1 (patch) | |
tree | c55834a8849c098f697e85cb28b16b0579c64507 /drivers/infiniband/hw/hfi1/mad.c | |
parent | IB/iser: Fix possible NULL deref at iser_inv_desc() (diff) | |
download | linux-721ad7e643f7002efa398838693f90284ea216d1.tar.xz linux-721ad7e643f7002efa398838693f90284ea216d1.zip |
IB/rxe: replace kvfree with vfree
The buf is allocated by vmalloc_user in the function rxe_queue_init.
So it is better to free it by vfree.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mad.c')
0 files changed, 0 insertions, 0 deletions