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 B178B462AD for ; Mon, 24 Feb 2025 17:42:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B2C54279D; Mon, 24 Feb 2025 17:42:53 +0100 (CET) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by mails.dpdk.org (Postfix) with ESMTP id 94AB74278F for ; Mon, 24 Feb 2025 17:42:51 +0100 (CET) Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-855a1f50a66so116181439f.3 for ; Mon, 24 Feb 2025 08:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1740415371; x=1741020171; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KgJThX6ykbESJqOcjBm0iiwKV4TaRWslK1qafq6Wdys=; b=PKF/PTPIWoLmHUx5Ckhm2bppnyhp9ld7N/WRmlROkIS4Iv8c/PAvsA0Bx+uwPVwOAg R/xJTI3DNgMM6v1NcLqIb5UNKJPAdvDIObPDihrdBc3Yz8QsERvX5wVj9qy3keGCHi29 zEJ5KLT2wi317oZqW4ED1056KvGhlJ4g1iBbPNP8l2QB9e+GdgJ3JFXjRUm2KOGPd3B0 9I2tEvTcjKSoTpLAR6+H7z4ofzsPfV5NvvOclv6N97cfdT6hwRMx8/b8ysaAW8aIErYn K1VkF77rXJZo+La6a8+6OcxqYv9zizQZ8ALzItIm9HYTFk3KGLgBa4jJ7wKVaWYeQO4L n6sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740415371; x=1741020171; 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 :re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122776995ab.15.1740415370889; Mon, 24 Feb 2025 08:42:50 -0800 (PST) MIME-Version: 1.0 References: <20250216160833.3216001-1-ariel.otilibili@6wind.com> <20250223214123.447579-1-ariel.otilibili@6wind.com> <20250223214123.447579-2-ariel.otilibili@6wind.com> <20250224074253.3df64dff@hermes.local> In-Reply-To: <20250224074253.3df64dff@hermes.local> From: Ariel Otilibili Date: Mon, 24 Feb 2025 17:42:40 +0100 X-Gm-Features: AWEUYZn1gLoqGXfmVVL_N_mcGVn-aJlhES1cipo0ZpC_lWUkcG8SMO6Vo__m_-8 Message-ID: Subject: Re: [PATCH v2 1/1] pcapng: warn if NULL is passed to rte_pcapng_close To: Stephen Hemminger Cc: dev@dpdk.org, Thomas Monjalon , David Marchand , Reshma Pattan , stable@dpdk.org Content-Type: multipart/alternative; boundary="000000000000f1ae65062ee60786" 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 --000000000000f1ae65062ee60786 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Dmitry, hello Stephen; On Mon, Feb 24, 2025 at 4:42=E2=80=AFPM Stephen Hemminger < stephen@networkplumber.org> wrote: > The convention (back from Unix) is that errno is only set on failure. > Simpler fix would just to silently ignore NULL case. > Thanks for your feedback. Here they are addressed, https://inbox.dpdk.org/dev/20250224164031.587829-1-ariel.otilibili@6wind.co= m/ --000000000000f1ae65062ee60786 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --000000000000f1ae65062ee60786--