From owner-svn-src-head@FreeBSD.ORG Mon Oct 7 12:07:41 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6D623A3E; Mon, 7 Oct 2013 12:07:41 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B4D52E86; Mon, 7 Oct 2013 12:07:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r97C7fIG078971; Mon, 7 Oct 2013 12:07:41 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r97C7fvj078970; Mon, 7 Oct 2013 12:07:41 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201310071207.r97C7fvj078970@svn.freebsd.org> From: Gleb Smirnoff Date: Mon, 7 Oct 2013 12:07:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256108 - head/sys/netinet6 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 12:07:41 -0000 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 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; }