mbox series

[v1,0/1] fix the problem of hugepage memory leaks

Message ID cover.1605842700.git.zhouguoyang@huawei.com (mailing list archive)
Headers
Series fix the problem of hugepage memory leaks |

Message

Guoyang Zhou Nov. 20, 2020, 3:40 a.m. UTC
  The nic_io memory sets to NULL before free it, this is wrong, and
the freeing of some private port resources should be moved from the
".remove(device)" function to the ".dev_close(port)" function.

--
v1:
  - fix the problem of hugepage memory leaks

Guoyang Zhou (1):
  net/hinic: fix the problem of hugepage memory leaks

 drivers/net/hinic/base/hinic_pmd_nicio.c |  1 -
 drivers/net/hinic/hinic_pmd_ethdev.c     | 17 ++++++++---------
 2 files changed, 8 insertions(+), 10 deletions(-)