diff options
| author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-09-30 01:57:42 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:49:56 +0100 |
| commit | aecb30aedacb477454a1a57eca839988306bf943 (patch) | |
| tree | a6f19731135845c3de415a86c43c89db60e1ae29 /include/linux | |
| parent | e60f60a4cde824604299cb60e83d623b78326ee5 (diff) | |
IB/rxe: replace kvfree with vfree
[ Upstream commit 721ad7e643f7002efa398838693f90284ea216d1 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
