Fwiw:

The patch below unbreaks -current for me.

[Luoqi Chen's message <199904270645.caa21...@lor.watermarkgroup.com> below]

This broke routing, part of the route domain init needs to be done after
all domains are attached. It happened that the new kernel I just made
listed routedomain before inetdomain...

-lq

Index: route.c
===================================================================
RCS file: /home/ncvs/src/sys/net/route.c,v
retrieving revision 1.51
diff -u -r1.51 route.c
--- route.c     1999/01/27 22:42:14     1.51
+++ route.c     1999/04/27 06:22:50
@@ -43,6 +43,7 @@
 #include <sys/mbuf.h>
 #include <sys/socket.h>
 #include <sys/domain.h>
+#include <sys/kernel.h>
 
 #include <net/if.h>
 #include <net/route.h>
@@ -77,7 +78,9 @@
 route_init()
 {
        rn_init();      /* initialize all zeroes, all ones, mask table */
+#if 0
        rtable_init((void **)rt_tables);
+#endif
 }
 
 /*
@@ -1062,3 +1065,5 @@
        }
        return (error);
 }
+
+SYSINIT(rtable, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY, rtable_init, rt_tables);


-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
jos.bac...@nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to