From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 9AE771B432 for ; Fri, 23 Nov 2018 11:30:16 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 059E4307D846; Fri, 23 Nov 2018 10:30:16 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8D57718A71; Fri, 23 Nov 2018 10:30:14 +0000 (UTC) From: Kevin Traynor To: Ferruh Yigit Cc: Harry van Haaren , dpdk stable Date: Fri, 23 Nov 2018 10:26:53 +0000 Message-Id: <20181123102713.17309-49-ktraynor@redhat.com> In-Reply-To: <20181123102713.17309-1-ktraynor@redhat.com> References: <20181123102713.17309-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 23 Nov 2018 10:30:16 +0000 (UTC) Subject: [dpdk-stable] patch 'service: fix possible null access' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 10:30:16 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/29/18. 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. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 1cc2853ea870a1a5d0197d96b42693b6d848b627 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Sun, 28 Oct 2018 01:08:45 +0000 Subject: [PATCH] service: fix possible null access [ upstream commit c8b506e4b661c23264debc66f52c7270f903a00e ] Fixes: 21698354c832 ("service: introduce service cores concept") Signed-off-by: Ferruh Yigit Acked-by: Harry van Haaren --- lib/librte_eal/common/rte_service.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c index 8767c7225..0f3695c4b 100644 --- a/lib/librte_eal/common/rte_service.c +++ b/lib/librte_eal/common/rte_service.c @@ -796,4 +796,7 @@ rte_service_dump_one(FILE *f, struct rte_service_spec_impl *s, } + if (f == NULL) + return; + fprintf(f, " %s: stats %d\tcalls %"PRIu64"\tcycles %" PRIu64"\tavg: %"PRIu64"\n", -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-23 10:22:55.531376173 +0000 +++ 0049-service-fix-possible-null-access.patch 2018-11-23 10:22:54.000000000 +0000 @@ -1,10 +1,11 @@ -From c8b506e4b661c23264debc66f52c7270f903a00e Mon Sep 17 00:00:00 2001 +From 1cc2853ea870a1a5d0197d96b42693b6d848b627 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Sun, 28 Oct 2018 01:08:45 +0000 Subject: [PATCH] service: fix possible null access +[ upstream commit c8b506e4b661c23264debc66f52c7270f903a00e ] + Fixes: 21698354c832 ("service: introduce service cores concept") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Acked-by: Harry van Haaren