svn commit: r268906 - stable/9/sys/net

Hiren Panchasara hiren at FreeBSD.org
Sun Jul 20 02:38:59 UTC 2014


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 |


More information about the svn-src-stable-9 mailing list