Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 07:10:22 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250764 - head/sys/net
Message-ID:  <201305180710.r4I7AMek034822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305180710.r4I7AMek034822>