CLICK_DMALLOC

rchertov <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <[email protected]>
There appears to be an issue in glue.cc when using kernel mode and 
enabling dmalloc option.

This variable click_dmalloc_totalmem is used but is never defined 
anywhere.  Please see an attached small patch.

Roman

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
patch.txt (text/x-diff, 334 B)
diff --git a/lib/glue.cc b/lib/glue.cc
index f674f9c..8e5f4f6 100644
--- a/lib/glue.cc
+++ b/lib/glue.cc
@@ -175,6 +175,7 @@ size_t click_dmalloc_failnew = 0;
 #if CLICK_DMALLOC
 size_t click_dmalloc_curmem = 0;
 size_t click_dmalloc_maxmem = 0;
+size_t click_dmalloc_totalmem = 0;
 #endif
 
 #if CLICK_LINUXMODULE || CLICK_BSDMODULE
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.