diff options
| author | Lijun Ou <[email protected]> | 2019-10-26 06:56:35 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-10-28 18:06:38 +0000 |
| commit | b681a0529968d2261aa15d7a1e78801b2c06bb07 (patch) | |
| tree | 08d2cc07c46e1d047a8afa6be7e7a85eda00a7ec /net/unix/af_unix.c | |
| parent | RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case (diff) | |
| download | kernel-b681a0529968d2261aa15d7a1e78801b2c06bb07.tar.gz kernel-b681a0529968d2261aa15d7a1e78801b2c06bb07.zip | |
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/[email protected]
Signed-off-by: Lijun Ou <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
