Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2013 12:07:41 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256108 - head/sys/netinet6
Message-ID:  <201310071207.r97C7fvj078970@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Mon Oct  7 12:07:40 2013
New Revision: 256108
URL: http://svnweb.freebsd.org/changeset/base/256108

Log:
  Fix mbuf leak.
  
  Submitted by:	Loganaden Velvindron <logan elandsys.com>
  Obtained from:	NetBSD
  Approved by:	re (kib)

Modified:
  head/sys/netinet6/ip6_mroute.c

Modified: head/sys/netinet6/ip6_mroute.c
==============================================================================
--- head/sys/netinet6/ip6_mroute.c	Mon Oct  7 11:23:01 2013	(r256107)
+++ head/sys/netinet6/ip6_mroute.c	Mon Oct  7 12:07:40 2013	(r256108)
@@ -616,7 +616,7 @@ X_ip6_mrouter_done(void)
 			for (rte = rt->mf6c_stall; rte != NULL; ) {
 				struct rtdetq *n = rte->next;
 
-				m_free(rte->m);
+				m_freem(rte->m);
 				free(rte, M_MRTABLE6);
 				rte = n;
 			}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310071207.r97C7fvj078970>