git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app/testpmd: support GRE option flow item
[dpdk.git]
/
lib
/
stack
/
rte_stack_lf_generic.h
diff --git
a/lib/stack/rte_stack_lf_generic.h
b/lib/stack/rte_stack_lf_generic.h
index
4850a05
..
7fa29ce
100644
(file)
--- a/
lib/stack/rte_stack_lf_generic.h
+++ b/
lib/stack/rte_stack_lf_generic.h
@@
-128,8
+128,10
@@
__rte_stack_lf_pop_elems(struct rte_stack_lf_list *list,
/* If NULL was encountered, the list was modified while
* traversing it. Retry.
*/
- if (i != num)
+ if (i != num) {
+ old_head = list->head;
continue;
+ }
new_head.top = tmp;
new_head.cnt = old_head.cnt + 1;