Project

General

Profile

Bug #2593 ยป ipv6_mbuf_memory_leak.txt

logan1, 10/04/2013 11:43 AM

 
--- ip6_mroute.c.orig 2013-10-04 11:37:53.000000000 -0700
+++ ip6_mroute.c 2013-10-04 11:38:14.000000000 -0700
@@ -475,7 +475,7 @@ ip6_mrouter_done(void)
for (rte = rt->mf6c_stall; rte != NULL; ) {
struct rtdetq *n = rte->next;
- m_free(rte->m);
+ m_freem(rte->m);
kfree(rte, M_MRTABLE);
rte = n;
}
    (1-1/1)