Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Imported Upstream version 16.11.1
[deb_dpdk.git]
/
lib
/
librte_mempool
/
rte_mempool_stack.c
diff --git
a/lib/librte_mempool/rte_mempool_stack.c
b/lib/librte_mempool/rte_mempool_stack.c
index
5fd8af2
..
817f77e
100644
(file)
--- a/
lib/librte_mempool/rte_mempool_stack.c
+++ b/
lib/librte_mempool/rte_mempool_stack.c
@@
-118,7
+118,7
@@
stack_dequeue(struct rte_mempool *mp, void **obj_table,
s->len -= n;
rte_spinlock_unlock(&s->sl);
- return
n
;
+ return
0
;
}
static unsigned