[dpdk-dev] [PATCH v1 0/1] fix the problem of hugepage memory leaks

Guoyang Zhou zhouguoyang at huawei.com
Fri Nov 20 04:40:39 CET 2020


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(-)

-- 
1.8.3.1



More information about the dev mailing list