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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to