From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01653A04DD for ; Fri, 20 Nov 2020 16:49:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4ADA3B5; Fri, 20 Nov 2020 16:49:22 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D97983B5; Fri, 20 Nov 2020 16:49:18 +0100 (CET) IronPort-SDR: Y93ESEvKMUoJojC/VowezGfe/hbTGFJVwIQSkZUd1e9bR+axqActPqWu8t9IK+lTyJLkyf2vd1 xDeIwe++eGiQ== X-IronPort-AV: E=McAfee;i="6000,8403,9810"; a="167982193" X-IronPort-AV: E=Sophos;i="5.78,357,1599548400"; d="scan'208";a="167982193" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2020 07:49:13 -0800 IronPort-SDR: Wy5xCLn0R/tt1tvCpVoO2psNyH1TDOa/dYqi6jbuTrg7zMEBiraVDil+V17+L5gyudqw7+wkIg ZHyA96l01T3Q== X-IronPort-AV: E=Sophos;i="5.78,357,1599548400"; d="scan'208";a="331357066" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.243.199]) ([10.213.243.199]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2020 07:49:10 -0800 To: Guoyang Zhou , dev@dpdk.org Cc: bluca@debian.org, cloud.wangxiaoyun@huawei.com, luoxianjun@huawei.com, yin.yinshi@huawei.com, luojiachen@huawei.com, chenlizhong@huawei.com, zhaohui8@huawei.com, chenchanghu@huawei.com, stable@dpdk.org References: <1605863489-162236-1-git-send-email-zhouguoyang@huawei.com> From: Ferruh Yigit Message-ID: Date: Fri, 20 Nov 2020 15:49:07 +0000 MIME-Version: 1.0 In-Reply-To: <1605863489-162236-1-git-send-email-zhouguoyang@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2 1/1] net/hinic: fix the problem of hugepage memory leaks X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 11/20/2020 9:11 AM, Guoyang Zhou wrote: > 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. > > Fixes: f30e69b41f94 ("ethdev: add device flag to bypass auto-filled queue xstats") > Cc: stable@dpdk.org > Signed-off-by: Guoyang Zhou Applied to dpdk-next-net/main, thanks.