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
mbuf: fix dump of dynamic fields and flags
[dpdk.git]
/
lib
/
mbuf
/
rte_mbuf_dyn.c
diff --git
a/lib/mbuf/rte_mbuf_dyn.c
b/lib/mbuf/rte_mbuf_dyn.c
index
db8e020
..
4ae7938
100644
(file)
--- a/
lib/mbuf/rte_mbuf_dyn.c
+++ b/
lib/mbuf/rte_mbuf_dyn.c
@@
-531,7
+531,7
@@
void rte_mbuf_dyn_dump(FILE *out)
size_t i;
rte_mcfg_tailq_write_lock();
- if (init_shared_mem() < 0) {
+ if (
shm == NULL &&
init_shared_mem() < 0) {
rte_mcfg_tailq_write_unlock();
return;
}