svn commit: r228321 - head/sys/netinet6

Gleb Smirnoff glebius at FreeBSD.org
Wed Dec 7 13:37:43 UTC 2011


Author: glebius
Date: Wed Dec  7 13:37:42 2011
New Revision: 228321
URL: http://svn.freebsd.org/changeset/base/228321

Log:
  Fix double free.
  
  PR:		kern/163089
  Submitted by:	Herbie Robinson <Herbie.Robinson stratus.com>

Modified:
  head/sys/netinet6/mld6.c

Modified: head/sys/netinet6/mld6.c
==============================================================================
--- head/sys/netinet6/mld6.c	Wed Dec  7 12:48:11 2011	(r228320)
+++ head/sys/netinet6/mld6.c	Wed Dec  7 13:37:42 2011	(r228321)
@@ -3090,7 +3090,6 @@ mld_dispatch_packet(struct mbuf *m)
 		m0 = mld_v2_encap_report(ifp, m);
 		if (m0 == NULL) {
 			CTR2(KTR_MLD, "%s: dropped %p", __func__, m);
-			m_freem(m);
 			IP6STAT_INC(ip6s_odropped);
 			goto out;
 		}


More information about the svn-src-head mailing list