From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C080842497; Thu, 26 Jan 2023 16:51:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 656B940223; Thu, 26 Jan 2023 16:51:56 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8118B400D7 for ; Thu, 26 Jan 2023 16:51:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674748314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ik2yhrrsd8UDcSKa7YJZBctI++rjt4J6OjznnbPtyNs=; b=e9e0urBGs1W1vZKnbp/EXUgg4s8tRilIkE5xdcoPTFgSE3ik1OQh8TXhNHQSOVPWAM+ArS aYpI5sreOnEgYZg5u8rP0kcZSuBEjxXoghZW4Y+DqddcJQDB9rWev5u/m7unolqODYmtRI Tv0m4KS024XHjLPzYp29SAtyOvbhz/M= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-136-KqRRB2BbPQyEml2upuv1jA-1; Thu, 26 Jan 2023 10:51:52 -0500 X-MC-Unique: KqRRB2BbPQyEml2upuv1jA-1 Received: by mail-ed1-f70.google.com with SMTP id y21-20020a056402359500b0049e171c4ad0so1669148edc.6 for ; Thu, 26 Jan 2023 07:51:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ik2yhrrsd8UDcSKa7YJZBctI++rjt4J6OjznnbPtyNs=; b=Ebh07RtG/yuY7GxkhqxcHWmHmjkEURbUPzfpUqdlyQtW/VrszWxpS0UQSk6ns3PaNf t9IegorSCmnVobw0+aOTkfg5VabfWnE1hvLCOikIoGhnLVNCxnTtDQNGygnvOuJmc2lu ipBu4NIlDBgZbJaOLF/jUBuUaiQmywHmmuAMDlagRyBrB8Naus+4nA4ecsNWNZTaa/ZI W81gVxOkCLCSGZCVKHZNzXiMTRElPcuxKUNmLcroeJeyHsHq4NvTZvRsvP6Jw5ole10o ML5GMQ88hKSvyEBvUU75yb8wgD4CC2CJBdNI5SSo1Zld1pVpE73ZtgUEnx/Yc+Sq1Jep xbeg== X-Gm-Message-State: AO0yUKUzDmBGFeS3N3zqzi6YI3wmnXfPAIFsuvCHzjtOmVy+7eKa0N3X uKdJ6tlsiys9CI+58kAWPaqgwdlTRdVjNX3Wi6wtYulZlYort21cUvTO5E7LSbcSko/YK8AQ/ED S8acvtVmkN98j28HWR/0= X-Received: by 2002:a17:906:5185:b0:878:42af:74ca with SMTP id y5-20020a170906518500b0087842af74camr990861ejk.168.1674748311827; Thu, 26 Jan 2023 07:51:51 -0800 (PST) X-Google-Smtp-Source: AK7set8L8uDiK25cJcQzRh4koj18VoVLTSR9zKsF2ROdqbkGLLATrpsR/+O5kBfEo0b7RHTweTldNnA0QB8qM3wsUok= X-Received: by 2002:a17:906:5185:b0:878:42af:74ca with SMTP id y5-20020a170906518500b0087842af74camr990852ejk.168.1674748311658; Thu, 26 Jan 2023 07:51:51 -0800 (PST) MIME-Version: 1.0 References: <20230107151939.2540148-1-vfialko@marvell.com> <20230107151939.2540148-3-vfialko@marvell.com> In-Reply-To: <20230107151939.2540148-3-vfialko@marvell.com> From: David Marchand Date: Thu, 26 Jan 2023 16:51:37 +0100 Message-ID: Subject: Re: [PATCH 2/2] test/reorder: fix double free of drained buffers To: Volodymyr Fialko Cc: dev@dpdk.org, Reshma Pattan , David Hunt , jerinj@marvell.com, anoobj@marvell.com, ci@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Sat, Jan 7, 2023 at 4:20 PM Volodymyr Fialko wrote: > > Set to zero array of drained buffers after free, to prevent freeing them > one more time. > Discovered with enabled `RTE_LIBRTE_MEMPOOL_DEBUG`. Good catch, having those debug options enabled in the CI could be interesting. Cc: CI people, for info. -- David Marchand