Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 02:38:58 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r268906 - stable/9/sys/net
Message-ID:  <201407200238.s6K2cwdd039648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hiren
Date: Sun Jul 20 02:38:58 2014
New Revision: 268906
URL: http://svnweb.freebsd.org/changeset/base/268906

Log:
  MFC r250764
  
  Fix rte leak introduced in r248070.

Modified:
  stable/9/sys/net/route.c

Modified: stable/9/sys/net/route.c
==============================================================================
--- stable/9/sys/net/route.c	Sun Jul 20 02:20:03 2014	(r268905)
+++ stable/9/sys/net/route.c	Sun Jul 20 02:38:58 2014	(r268906)
@@ -1638,7 +1638,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?201407200238.s6K2cwdd039648>