diff options
author | Lijun Ou <oulijun@huawei.com> | 2019-10-26 14:56:35 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 15:06:38 -0300 |
commit | b681a0529968d2261aa15d7a1e78801b2c06bb07 (patch) | |
tree | 08d2cc07c46e1d047a8afa6be7e7a85eda00a7ec /fs/affs/Kconfig | |
parent | d4934f45693651ea15357dd6c7c36be28b6da884 (diff) |
RDMA/hns: Prevent memory leaks of eq->buf_list
eq->buf_list->buf and eq->buf_list should also be freed when eqe_hop_num
is set to 0, or there will be memory leaks.
Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08")
Link: https://lore.kernel.org/r/1572072995-11277-3-git-send-email-liweihang@hisilicon.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs/affs/Kconfig')
0 files changed, 0 insertions, 0 deletions