Re: [PATCHv2 1/1] IB/rxe: replace kvfree with vfree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
> 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(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux