git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3ee04eb
)
app/pdump: free mempool at resources cleanup
author
Tianli Lai
<laitianli@tom.com>
Fri, 25 Feb 2022 01:00:37 +0000
(09:00 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 7 Mar 2022 23:19:31 +0000
(
00:19
+0100)
The mempool should be free when cleanup resources.
Signed-off-by: Tianli Lai <laitianli@tom.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
app/pdump/main.c
patch
|
blob
|
history
diff --git
a/app/pdump/main.c
b/app/pdump/main.c
index
96fa76f
..
c6cf9d9
100644
(file)
--- a/
app/pdump/main.c
+++ b/
app/pdump/main.c
@@
-507,6
+507,7
@@
cleanup_rings(void)
/* free the rings */
rte_ring_free(pt->rx_ring);
rte_ring_free(pt->tx_ring);
+ rte_mempool_free(pt->mp);
}
}