DragonFly BSD
DragonFly kernel List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Parallel routing code patch #1 (preliminary)


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 18 Jan 2006 11:40:26 +0900

On Tue, Jan 17, 2006 at 11:22:50AM -0800, Matthew Dillon wrote:
>     Here is the first iteration of the parallel route table code.  This
>     code was developed by Jeffrey Hsu and then further work was done on
>     it by me:
> 
> 	http://apollo.backplane.com/DFlyMisc/routing01.patch
> 
>     Currently the only known bug is that ARP over token-ring will not
>     work properly.
> 
>     This patch needs basic testing.  Do 'route' commands work properly?
>     Are there inconsistencies between cpus? (recognized by having weird
>     TCP connection problems), etc etc.
> 
>     This is a very preliminary patch, 'alpha' quality at best.

Shouldn't this part in ip_input.c:
@@ -2061,7 +2065,7 @@
 						    &ipsecerror);
  
 			if (sp == NULL)
-				destmtu = ipforward_rt.ro_rt->rt_ifp->if_mtu;
+				destmtu = cache_rt->rt_ifp->if_mtu;
 			else {
 				/* count IPsec header size */
 				ipsechdr = ipsec4_hdrsiz(mcopy,

be

-				destmtu = ipforward_rt.ro_rt->rt_ifp->if_mtu;
+				destmtu = cache_rt->ro_rt->rt_ifp->if_mtu;

so as it at least compiles.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]