From owner-svn-src-head@FreeBSD.ORG Sat May 18 07:10:23 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0C12A1FD; Sat, 18 May 2013 07:10:23 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F28BA374; Sat, 18 May 2013 07:10:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4I7AM5r034823; Sat, 18 May 2013 07:10:22 GMT (envelope-from melifaro@svn.freebsd.org) Received: (from melifaro@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4I7AMek034822; Sat, 18 May 2013 07:10:22 GMT (envelope-from melifaro@svn.freebsd.org) Message-Id: <201305180710.r4I7AMek034822@svn.freebsd.org> From: "Alexander V. Chernikov" Date: Sat, 18 May 2013 07:10:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250764 - head/sys/net 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: Sat, 18 May 2013 07:10:23 -0000 Author: melifaro Date: Sat May 18 07:10:22 2013 New Revision: 250764 URL: http://svnweb.freebsd.org/changeset/base/250764 Log: Fix rte leak introduced in r248070. MFC after: 2 weeks Modified: head/sys/net/route.c Modified: head/sys/net/route.c ============================================================================== --- head/sys/net/route.c Sat May 18 07:03:06 2013 (r250763) +++ head/sys/net/route.c Sat May 18 07:10:22 2013 (r250764) @@ -1566,7 +1566,7 @@ rtinit1(struct ifaddr *ifa, int cmd, int info.rti_ifa = NULL; info.rti_flags = RTF_RNH_LOCKED; - error = rtrequest1_fib(RTM_DELETE, &info, &rt, fibnum); + error = rtrequest1_fib(RTM_DELETE, &info, NULL, fibnum); if (error == 0) { info.rti_ifa = ifa; info.rti_flags = flags | RTF_RNH_LOCKED |