DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1 0/1] fix the problem of hugepage memory leaks
@ 2020-11-20  3:40 Guoyang Zhou
  2020-11-20  3:40 ` [dpdk-dev] [PATCH v1 1/1] net/hinic: " Guoyang Zhou
  0 siblings, 1 reply; 2+ messages in thread
From: Guoyang Zhou @ 2020-11-20  3:40 UTC (permalink / raw)
  To: dev
  Cc: ferruh.yigit, bluca, cloud.wangxiaoyun, luoxianjun, yin.yinshi,
	luojiachen, zhouguoyang, chenlizhong, zhaohui8, chenchanghu

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-20  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20  3:40 [dpdk-dev] [PATCH v1 0/1] fix the problem of hugepage memory leaks Guoyang Zhou
2020-11-20  3:40 ` [dpdk-dev] [PATCH v1 1/1] net/hinic: " Guoyang Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).