svn commit: r184574 - user/kmacy/HEAD_fast_xmit/sys/net
Kip Macy
kmacy at FreeBSD.org
Sun Nov 2 19:17:35 PST 2008
Author: kmacy
Date: Mon Nov 3 03:17:35 2008
New Revision: 184574
URL: http://svn.freebsd.org/changeset/base/184574
Log:
There is no point in repeatedly asking for a route to be cloned on lookup.
Modified:
user/kmacy/HEAD_fast_xmit/sys/net/radix_mpath.c
Modified: user/kmacy/HEAD_fast_xmit/sys/net/radix_mpath.c
==============================================================================
--- user/kmacy/HEAD_fast_xmit/sys/net/radix_mpath.c Mon Nov 3 00:53:54 2008 (r184573)
+++ user/kmacy/HEAD_fast_xmit/sys/net/radix_mpath.c Mon Nov 3 03:17:35 2008 (r184574)
@@ -266,7 +266,7 @@ rtalloc_mpath_fib(struct route *ro, u_in
*/
if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP))
return; /* XXX */
- ro->ro_rt = rtalloc1_fib(&ro->ro_dst, 1, 0UL, fibnum);
+ ro->ro_rt = rtalloc1_fib(&ro->ro_dst, 1, RTF_CLONING, fibnum);
/* if the route does not exist or it is not multipath, don't care */
if (ro->ro_rt == NULL)
More information about the svn-src-user
mailing list