svn commit: r196679 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net

[ Available lists | Index of svn-src-stable-8 | Month of Aug 2009 | Week of 31 Aug 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Qing Li <qingli@FreeBSD.org>
Date
31 Aug 2009 00:18:18
Subject
svn commit: r196679 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net
Message-ID
200908310018.n7V0IIC1010643@svn.freebsd.org


[ Hide this part ]
Author: qingli
Date: Mon Aug 31 00:18:17 2009
New Revision: 196679
URL: http://svn.freebsd.org/changeset/base/196679

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: pointed out by bz
Approved by: re

Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/net/rtsock.c

Modified: stable/8/sys/net/rtsock.c
==============================================================================
--- stable/8/sys/net/rtsock.c Mon Aug 31 00:14:37 2009 (r196678)
+++ stable/8/sys/net/rtsock.c Mon Aug 31 00:18:17 2009 (r196679)
@@ -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

Elapsed time: 0.104 seconds