Message:
Hi,
This patch fixes the memory initialization problem of KingsleyAlloc
constructor of src/process-manager/alloc.cc. Patch is against to
ns-3-simu repository.
Description:
This changeset is created agiainst
http://code.nsnam.org/mathieu/ns-3-simu/
rev 4583.
These modification intend to support zebra (quagga) integration in ns-3.
Please review this at http://codereview.appspot.com/82060
Affected files:
M src/process-manager/alloc.cc
Index: src/process-manager/alloc.cc
===================================================================
--- a/src/process-manager/alloc.cc
+++ b/src/process-manager/alloc.cc
@@ -54,6 +54,7 @@
: m_defaultMmapSize (1<<15)
{
NS_LOG_FUNCTION (this);
+ memset(m_buckets, 0, sizeof(m_buckets));
}
KingsleyAlloc::~KingsleyAlloc ()
{