[dpdk-stable] patch 'examples/ipsec-secgw: fix error sign' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Tue Aug 27 11:30:08 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 09/03/19. 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/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/e8242045dda0690a29458f42ef6a147a90ba2f81

Thanks.

Kevin Traynor

---
>From e8242045dda0690a29458f42ef6a147a90ba2f81 Mon Sep 17 00:00:00 2001
From: Dilshod Urazov <dilshod.urazov at oktetlabs.ru>
Date: Fri, 5 Jul 2019 13:18:09 +0100
Subject: [PATCH] examples/ipsec-secgw: fix error sign

[ upstream commit 4fbf33243175311781e8f130b53890859304dc29 ]

rte_errno values should be positive.

Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")

Signed-off-by: Dilshod Urazov <dilshod.urazov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
 examples/ipsec-secgw/sa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index f7b6eb0bb..a2c718156 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -738,5 +738,5 @@ sa_create(const char *name, int32_t socket_id)
 	if (mz == NULL) {
 		printf("Failed to allocate SA DB memory\n");
-		rte_errno = -ENOMEM;
+		rte_errno = ENOMEM;
 		return NULL;
 	}
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-27 09:40:12.600288062 +0100
+++ 0031-examples-ipsec-secgw-fix-error-sign.patch	2019-08-27 09:40:10.915144510 +0100
@@ -1 +1 @@
-From 4fbf33243175311781e8f130b53890859304dc29 Mon Sep 17 00:00:00 2001
+From e8242045dda0690a29458f42ef6a147a90ba2f81 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4fbf33243175311781e8f130b53890859304dc29 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 1083915f9..d700c8ea4 100644
+index f7b6eb0bb..a2c718156 100644
@@ -22 +23 @@
-@@ -744,5 +744,5 @@ sa_create(const char *name, int32_t socket_id)
+@@ -738,5 +738,5 @@ sa_create(const char *name, int32_t socket_id)


More information about the stable mailing list