[dpdk-stable] [PATCH v2 2/2] mbuf: fix dump of dynamic fields and flags
Alexander Bechikov
asb.tyum at gmail.com
Fri Oct 29 21:35:19 CEST 2021
I suppose this issue is introduced by d4902ed31c63 ("mbuf: check shared
memory before dumping dynamic space").
Cc: stable at dpdk.org
Fixes: d4902ed31c63 ("mbuf: check shared memory before dumping dynamic space")
Signed-off-by: Alexander Bechikov <asb.tyum at gmail.com>
---
v2:
* Drop changes with log message from v1, because rte_errno is not always set
---
lib/mbuf/rte_mbuf_dyn.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/mbuf/rte_mbuf_dyn.c b/lib/mbuf/rte_mbuf_dyn.c
index a3bc9b66d2..4ae79383b5 100644
--- a/lib/mbuf/rte_mbuf_dyn.c
+++ b/lib/mbuf/rte_mbuf_dyn.c
@@ -116,8 +116,7 @@ init_shared_mem(void)
mz = rte_memzone_lookup(RTE_MBUF_DYN_MZNAME);
}
if (mz == NULL) {
- RTE_LOG(ERR, MBUF, "Failed to get mbuf dyn shared memory: %s (%d)\n",
- rte_strerror(rte_errno), rte_errno);
+ RTE_LOG(ERR, MBUF, "Failed to get mbuf dyn shared memory\n");
return -1;
}
--
2.30.2
More information about the stable
mailing list