From owner-freebsd-net@FreeBSD.ORG Fri Oct 4 18:29:21 2013 Return-Path: Delivered-To: freebsd-net@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 0CE43853; Fri, 4 Oct 2013 18:29:21 +0000 (UTC) (envelope-from logan@elandsys.com) Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BEC542E77; Fri, 4 Oct 2013 18:29:20 +0000 (UTC) Received: from mx.elandsys.com (IDENT:logan@localhost [127.0.0.1]) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id r94ITHus019721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Oct 2013 11:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1380911358; bh=MUgrJyemt05Mx7HWAVKn+CdCF+fDTBZm2AEand19/P8=; h=Date:From:To:Cc:Subject; b=x+KIDxF3DTXMPqu9zh6YUIjvAFbCCF07/sPKViii771ocoaSdS0b1+yr9KoSOPD13 ox8KX+AtYFf04toXAApUXMUaM3GJzVn2QafUbFCz9N8GqfuO0KloFwHSrs6rN66X1O fWg1CODN5f/z8RaNCRO+sCg8x2TzRNXDT4sRdLeA= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1380911358; i=@elandsys.com; bh=MUgrJyemt05Mx7HWAVKn+CdCF+fDTBZm2AEand19/P8=; h=Date:From:To:Cc:Subject; b=bmsmArpi6Rq37lHsVIsAMhWx3AAT6MPLSEDAplBpVhA1T3apTA9+NjIqbwWMYFuL1 2r3MWrOHMToaJtnn1oP2y9tNoVNkD6ZgoGCec9eAvDCQqaRTZUiQze4HEMOVdngpOP zv4eXYLKjwGy3Hxu9J8PBfA1THsov2jbKQ+TK8sw= Received: (from logan@localhost) by mx.elandsys.com (8.14.5/8.14.5/Submit) id r94ITHb8006632; Fri, 4 Oct 2013 11:29:17 -0700 (PDT) X-Authentication-Warning: mx.elandsys.com: logan set sender to logan@elandsys.com using -f Date: Fri, 4 Oct 2013 11:29:17 -0700 From: Loganaden Velvindron To: freebsd-net@freebsd.org Subject: mbuf leakage fix Message-ID: <20131004182917.GA18870@mx.elandsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: gnn@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 18:29:21 -0000 Hi, >From netbsd. Index: ip6_mroute.c =================================================================== --- ip6_mroute.c (revision 255947) +++ ip6_mroute.c (working copy) @@ -616,7 +616,7 @@ 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; }