[dpdk-stable] patch 'lpm6: fix size of tbl8 group' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 15:04:13 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.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 05/21/20. 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.

Thanks.

Luca Boccassi

---
>From eee7a4f08927726f70672838571c92687c687ed5 Mon Sep 17 00:00:00 2001
From: Alex Kiselev <alex at therouter.net>
Date: Wed, 8 Apr 2020 15:07:30 +0200
Subject: [PATCH] lpm6: fix size of tbl8 group

[ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ]

Fixes: e480688dce6d ("lpm6: add incremental update on delete")

Signed-off-by: Alex Kiselev <alex at therouter.net>
Acked-by: Andrzej Ostruszka <aostruszka at marvell.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_lpm/rte_lpm6.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c
index b981e40714..2e3efc7186 100644
--- a/lib/librte_lpm/rte_lpm6.c
+++ b/lib/librte_lpm/rte_lpm6.c
@@ -726,7 +726,8 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,
 			tbl8_group_start = tbl8_gindex *
 					RTE_LPM6_TBL8_GROUP_NUM_ENTRIES;
 			memset(&lpm->tbl8[tbl8_group_start], 0,
-					  RTE_LPM6_TBL8_GROUP_NUM_ENTRIES);
+					RTE_LPM6_TBL8_GROUP_NUM_ENTRIES *
+					sizeof(struct rte_lpm6_tbl_entry));
 
 			/* init the new table's header:
 			 *   save the reference to the owner table
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 14:04:49.281903836 +0100
+++ 0118-lpm6-fix-size-of-tbl8-group.patch	2020-05-19 14:04:44.388651490 +0100
@@ -1,10 +1,11 @@
-From 64c46bacf48550f09ef758a15cee9d3b6f443f59 Mon Sep 17 00:00:00 2001
+From eee7a4f08927726f70672838571c92687c687ed5 Mon Sep 17 00:00:00 2001
 From: Alex Kiselev <alex at therouter.net>
 Date: Wed, 8 Apr 2020 15:07:30 +0200
 Subject: [PATCH] lpm6: fix size of tbl8 group
 
+[ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ]
+
 Fixes: e480688dce6d ("lpm6: add incremental update on delete")
-Cc: stable at dpdk.org
 
 Signed-off-by: Alex Kiselev <alex at therouter.net>
 Acked-by: Andrzej Ostruszka <aostruszka at marvell.com>
@@ -14,7 +15,7 @@
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c
-index 1047efa8a5..f5979fb159 100644
+index b981e40714..2e3efc7186 100644
 --- a/lib/librte_lpm/rte_lpm6.c
 +++ b/lib/librte_lpm/rte_lpm6.c
 @@ -726,7 +726,8 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,


More information about the stable mailing list