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 05D7C43CAD for ; Thu, 14 Mar 2024 01:12:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0E5142E40; Thu, 14 Mar 2024 01:12:54 +0100 (CET) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mails.dpdk.org (Postfix) with ESMTP id DD34040297 for ; Thu, 14 Mar 2024 01:12:52 +0100 (CET) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-413f26b1729so450125e9.2 for ; Wed, 13 Mar 2024 17:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710375172; x=1710979972; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/nIlyrDdC1HFki3KwgZouiAK6gT+TtBCa5nI5bEQYj0=; b=TQVMy+PU7B3nFIJ2ycIymnY3Y6pszXFRe9+pts8KKG+vngR7Y72DrLUnwXZNjAd6Ze +pF4qxXczdRY0+bpyjEbY9MeypLcFmo5NPNPco5nod1kaKA7xK4PJ0WexNEZZmvZK/W7 /n8+/+acC2Y6uJCAOvAxVFpphUD0D2C4c+533cUCirRFzGHAYdBjtcLxx1y29KKQGnBN /ijf/Xoy8hnwiqwtIgDIwbB9fdDaZCu38ilJ+qBr4Cpn7D+aiYHnPhekOXt318aS5UEJ ZCuDSkItdRbwBfLfvObYRPksYsSGcMWr2isqwqI3HCMHIlG2NbPhO52gwl7yhHe2Aytl KSMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710375172; x=1710979972; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/nIlyrDdC1HFki3KwgZouiAK6gT+TtBCa5nI5bEQYj0=; b=dO9t/mcpU1n5BzGZJCHd+HFKgr3U2Cje/YEXAPjZZUhiBOlhu9G1v2DzD8LN9fpZWh cRy3neB04jYDo6QTyPCQ+of2UedezkOMgrkaYDuZ+n5VSHJMxlHoSC8oSxtqMA7hfbEl SoDE2i1kOl51OFd1ldvE1z6YsilZol2E3fScjF0Udxi9AYd7aHHrSv+jYCMcDayot9SZ FxqPLfneJfXSZEXsHwqN1C5/lXy3+XzSdO95xhl1e2joLSMnqZS5vZRnpnBTOYmsGqmd AQu541wEKWKCgIhoj3cfAu2ni5SNMevlTyJPh9BzX9HBm0Glarm/KYP6OMDL4u3+t63F Jjew== X-Forwarded-Encrypted: i=1; AJvYcCX5mrKZ0Bd43TK0gCsow10kyYtAn1n5L4/hy8E929KVnCGVhe5oW55YdaY7im4VpHfeKedu1acydjzpYCkLr7Y= X-Gm-Message-State: AOJu0YzZ+ETVhbv+fl3IZirJuLvRbBzW3Mge9vdGwMR6qDCHhse7TIxP jcJDPq6uq0+rQCka91gINgucrdmuK9ZNMqXjo7IMMWW5fZya0jgnRQii4HRLNZ0= X-Google-Smtp-Source: AGHT+IHoJB1AskPigJJMZ/ImkYI2du2OaoJmjSMx6lvdrC0Rp4tOwEt0nN4TS1nNRaRZdZbMnrb9xw== X-Received: by 2002:a05:600c:1ca7:b0:413:1741:28b5 with SMTP id k39-20020a05600c1ca700b00413174128b5mr228820wms.9.1710375172536; Wed, 13 Mar 2024 17:12:52 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id h15-20020a05600c314f00b00412b0e51ef9sm595939wmo.31.2024.03.13.17.12.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:12:52 -0700 (PDT) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Tyler Retzlaff , dpdk stable Subject: patch 'test/bpf: fix mbuf init in some filter test' has been queued to stable release 22.11.5 Date: Thu, 14 Mar 2024 00:09:51 +0000 Message-Id: <20240314000957.2810803-55-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240314000957.2810803-1-luca.boccassi@gmail.com> References: <20240307013159.1735343-102-luca.boccassi@gmail.com> <20240314000957.2810803-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 22.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/16/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/7019fde3a9538022d8e4216c6257a5c301ef1476 Thanks. Luca Boccassi --- >From 7019fde3a9538022d8e4216c6257a5c301ef1476 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 1 Mar 2024 09:57:06 -0800 Subject: [PATCH] test/bpf: fix mbuf init in some filter test [ upstream commit 7d0420ac528aff96404e1d327996c7b52d67c373 ] The BPF filter test was not initializing offload flags. Coverity issue: 375844 Fixes: 2eccf6afbea9 ("bpf: add function to convert classic BPF to DPDK BPF") Signed-off-by: Stephen Hemminger Reviewed-by: Tyler Retzlaff --- app/test/test_bpf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c index f5af5e8a3f..51184341c2 100644 --- a/app/test/test_bpf.c +++ b/app/test/test_bpf.c @@ -3341,6 +3341,7 @@ test_bpf_filter_sanity(pcap_t *pcap) struct rte_ipv4_hdr ip_hdr; } *hdr; + memset(&mb, 0, sizeof(mb)); dummy_mbuf_prep(&mb, tbuf, sizeof(tbuf), plen); m = &mb; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-14 00:09:23.200427601 +0000 +++ 0055-test-bpf-fix-mbuf-init-in-some-filter-test.patch 2024-03-14 00:09:20.709617127 +0000 @@ -1 +1 @@ -From 7d0420ac528aff96404e1d327996c7b52d67c373 Mon Sep 17 00:00:00 2001 +From 7019fde3a9538022d8e4216c6257a5c301ef1476 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 7d0420ac528aff96404e1d327996c7b52d67c373 ] + @@ -18 +20 @@ -index f83e72a9ad..53e3a31123 100644 +index f5af5e8a3f..51184341c2 100644