Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2009 00:14:37 +0000 (UTC)
From:      Qing Li <qingli@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196678 - head/sys/net
Message-ID:  <200908310014.n7V0EbHE010522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: qingli
Date: Mon Aug 31 00:14:37 2009
New Revision: 196678
URL: http://svn.freebsd.org/changeset/base/196678

Log:
  As part of r196609, a call to  "rtalloc" did not take the fib into
  account. So call the appropriate "rtalloc_ign_fib()" instead of
  calling "rtalloc_ign()".
  
  Reviewed by:i	pointed out by bz
  MFC after:	immediately

Modified:
  head/sys/net/rtsock.c

Modified: head/sys/net/rtsock.c
==============================================================================
--- head/sys/net/rtsock.c	Sun Aug 30 23:16:52 2009	(r196677)
+++ head/sys/net/rtsock.c	Mon Aug 31 00:14:37 2009	(r196678)
@@ -527,7 +527,7 @@ route_output(struct mbuf *m, struct sock
 
 		bzero(&gw_ro, sizeof(gw_ro));
 		gw_ro.ro_dst = *info.rti_info[RTAX_GATEWAY];
-		rtalloc_ign(&gw_ro, 0);
+		rtalloc_ign_fib(&gw_ro, 0, so->so_fibnum);
 		/* 
 		 * A host route through the loopback interface is 
 		 * installed for each interface adddress. In pre 8.0



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