diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-19 15:56:32 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-08-27 08:45:59 -0300 |
commit | e3ddd6067ee62f6e76ebcf61ff08b2c729ae412b (patch) | |
tree | 61ee5949856b92dbd1bd8255f84d1718569bad22 /security | |
parent | 60b1af64eb35074a4f2d41cc1e503a7671e68963 (diff) |
RDMA/rxe: Fix memleak in rxe_mem_init_user
When page_address() fails, umem should be freed just like when
rxe_mem_alloc() fails.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Link: https://lore.kernel.org/r/20200819075632.22285-1-dinghao.liu@zju.edu.cn
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions