From patchwork Sat Jan 7 15:19:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Fialko X-Patchwork-Id: 121693 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 834A0A00C2; Sat, 7 Jan 2023 16:19:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 307FA4021D; Sat, 7 Jan 2023 16:19:50 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 20E4640141 for ; Sat, 7 Jan 2023 16:19:47 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 307EscFs001629 for ; Sat, 7 Jan 2023 07:19:47 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=b4hE4DiW6P9nB/Qqc1EBMhEyTxqAoq2NpYdsVTQ3XqQ=; b=iSwaa5MEkHVHdUBL9yUaT70vyDF+FhfUKyofEoegyN8gNIb3ZGh+BMr8+KtWmahULL4h nolrKXUzxm8mq/HN8nFWMqcg7wb1GlrJKSFQzYQqOxF5ZPZLDH4BkcdnJ7o6JEhlIx+Z yfSlQ0UymJJFPF2Ia6cmGTgALFoXdKn/er5lFv0UtVvX7UxdRMjufu+e7xKqET2HHMhh K7Tm2/C152dk+icoU1rwWpSDCSOVpWldV+wV7Aa8A2jgQB74OGE9oHhypGefnQ40oIGq W/dKiOAf5FptQERIU2rpARfqD+ZewhUHIGDY2B6DHjZIU6/N8jyZQ2tVfslB+Lg7WfET EA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3my6yw0a8k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 07 Jan 2023 07:19:47 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Sat, 7 Jan 2023 07:19:45 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Sat, 7 Jan 2023 07:19:45 -0800 Received: from cavium-DT10.. (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 005585B6925; Sat, 7 Jan 2023 07:19:43 -0800 (PST) From: Volodymyr Fialko To: CC: , , Volodymyr Fialko Subject: [PATCH 0/2] lib/reorder: fix drain/free issues Date: Sat, 7 Jan 2023 16:19:37 +0100 Message-ID: <20230107151939.2540148-1-vfialko@marvell.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-GUID: LboJhJ9azhNR1T3EkU4RY4_2CXidR6Ls X-Proofpoint-ORIG-GUID: LboJhJ9azhNR1T3EkU4RY4_2CXidR6Ls X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-07_06,2023-01-06_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch address issues with reorder drain/free, discovered with enabled `RTE_LIBRTE_MEMPOOL_DEBUG`. Volodymyr Fialko (2): reorder: invalidate buf from ready queue in drain test/reorder: fix double free of drained buffers app/test/test_reorder.c | 2 ++ lib/reorder/rte_reorder.c | 1 + 2 files changed, 3 insertions(+)