[dpdk-stable] patch 'service: fix possible null access' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Fri Nov 23 11:26:53 CET 2018
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 <ferruh.yigit at intel.com>
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 <ferruh.yigit at intel.com>
Acked-by: Harry van Haaren <harry.van.haaren at intel.com>
---
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 <ferruh.yigit at intel.com>
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 at dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
Acked-by: Harry van Haaren <harry.van.haaren at intel.com>
More information about the stable
mailing list