On Tue, Sep 25, 2018 at 11:11:18PM -0400, Zhu Yanjun wrote: > 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") > Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxxx> > --- > V1->V2: Add Fixes and fix other similar problems. > --- > drivers/infiniband/sw/rxe/rxe_cq.c | 2 +- > drivers/infiniband/sw/rxe/rxe_qp.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature