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 346D0A0C52 for ; Fri, 15 Oct 2021 14:58:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28E7A41232; Fri, 15 Oct 2021 14:58:15 +0200 (CEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id 2CF2F411D8 for ; Fri, 15 Oct 2021 14:58:13 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id m22so26550611wrb.0 for ; Fri, 15 Oct 2021 05:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jIgCrrUlpdtstjCq4m/FTQUN3j9n1nKydJlC229P78k=; b=I64OWVIzYT2ymI7jAXLn1/48CqooGyXvI3M/GYne40UxuCXTL480q37F4VjXEJ7Bmr g4Um+eUz0ISQk+JjM4rU0YdO6j+GtkPArKfrJr7hHqMySIgQxNDJa/F47M+EPuxAVOXb qm3YjJb6R21EUvblAi2GYn+wODRZ5jJ0oboge0HS5mjpdKNysIiiI42R3IhwUEDkeIHG s15COoNcqHeqMhi3tQWqqekofzk7/u/cbJflN/Yz5Xv6SJZw0zhiTcDCrn1n1PZqzauM zFQUftWugQOv5Df8ofZopK/rjbMg9LPZiqqgzezc8QP+KZUqVq2XU9PBjdzn7m29vqmo ObMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jIgCrrUlpdtstjCq4m/FTQUN3j9n1nKydJlC229P78k=; b=Uj60ILKCJnk4tkCWhbi2L17zWmTEpxgzW0bPgMe2c+k773F0a7VHle7yp45KH4g+mt oGuN3v6D4SxcCPY425TzP63XI2BgV6SAwKWBbQfWrk0Mvu8DtGMIr2EYbryZzySJ2Emx mjT4tG+XyAmo86FZDKeKhq00jqe7caFHHkYj1vKk0PjoQqg1SMN9kRWueaPyiMPH2YMI lW0qYnYiaGYgEgrmaMsvtb9p7UBkm2r8qZOoJPcgXC0karaizATPaerluimDN2ltpko0 4SEomRGee4fKzNbiPTUh6ko/CH13bo1RQHncVx/jz9kGIPPEnYMGcaoxH/F/HgDEAWbk UAkw== X-Gm-Message-State: AOAM531x5tHUEYZwKZzXquQzUrK1dolouMzw8n0bodWY9B9LVEJbeRGk SL0nNxYK0GrRSKvCyGU98eW/nw== X-Google-Smtp-Source: ABdhPJyrnQHIUai0xAxYjD+VT0FWVuSSu0qKbavoxHmX+WEnVQEodamx6bztqHdG4oqFVFuQlJx+5g== X-Received: by 2002:adf:aa04:: with SMTP id p4mr14256453wrd.67.1634302692965; Fri, 15 Oct 2021 05:58:12 -0700 (PDT) Received: from 6wind.com ([2a01:e0a:5ac:6460:c065:401d:87eb:9b25]) by smtp.gmail.com with ESMTPSA id o6sm6449155wri.49.2021.10.15.05.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 05:58:12 -0700 (PDT) Date: Fri, 15 Oct 2021 14:58:11 +0200 From: Olivier Matz To: zhihongx.peng@intel.com Cc: dmitry.kozliuk@gmail.com, dev@dpdk.org, stable@dpdk.org Message-ID: References: <20211008064131.369133-1-zhihongx.peng@intel.com> <20211013015223.1155876-1-zhihongx.peng@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013015223.1155876-1-zhihongx.peng@intel.com> Subject: Re: [dpdk-stable] [PATCH v4 1/2] lib/cmdline: release cl when cmdline exit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Wed, Oct 13, 2021 at 01:52:22AM +0000, zhihongx.peng@intel.com wrote: > From: Zhihong Peng > > Malloc cl in the cmdline_stdin_new function, so release in the > cmdline_stdin_exit function is logical, so that cl will not be > released alone. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org As said by Dmitry, we should not backport this fix to avoid breaking external apps. > Signed-off-by: Zhihong Peng I suggest to merge the 2 patches in one, because the second is mandatory when the first one is applied. Thanks Zhihong, and thanks Dmitry for the previous review.