From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] app/test: fix reorder test failure Date: Sun, 13 May 2018 23:17:23 +0200 Message-ID: <6086013.0aasqvtn8f@xps> References: <1525365403-32529-1-git-send-email-reshma.pattan@intel.com> <1525430826-17772-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, david.hunt@intel.com, stable@dpdk.org To: Reshma Pattan Return-path: In-Reply-To: <1525430826-17772-1-git-send-email-reshma.pattan@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/05/2018 12:47, Reshma Pattan: > mbufs are being freed twice in error, once in rte_mempool_put_bulk() > and then in rte_reorder_free(). Refactor the code so that we use > rte_reorder_free() to free mbufs in the reorder buffer, and use > rte_pktmbuf_free() to free any unused or drained mbufs. > > Fixes: d0c9b58d71 ("app/test: new reorder unit test") > Cc: stable@dpdk.org backport > Cc: david.hunt@intel.com > Signed-off-by: Reshma Pattan > Reviewed-by: David Hunt Applied, thanks