Date: Tue, 27 Apr 1999 02:45:17 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, peter@FreeBSD.org Subject: Re: cvs commit: src/sys/sys domain.h Message-ID: <199904270645.CAA21642@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> peter 1999/04/26 01:53:03 PDT > > Modified files: > sys/sys domain.h > Log: > Make DOMAIN_SET() use SYSINIT rather than linker sets. > > Revision Changes Path > 1.12 +3 -3 src/sys/sys/domain.h > > 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); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904270645.CAA21642>