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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git