From owner-cvs-all Mon Apr 26 23:45:21 1999 Delivered-To: cvs-all@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 0EEA314D92; Mon, 26 Apr 1999 23:45:17 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id CAA21642; Tue, 27 Apr 1999 02:45:17 -0400 (EDT) (envelope-from luoqi) Date: Tue, 27 Apr 1999 02:45:17 -0400 (EDT) From: Luoqi Chen Message-Id: <199904270645.CAA21642@lor.watermarkgroup.com> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, peter@FreeBSD.org Subject: Re: cvs commit: src/sys/sys domain.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > 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 #include #include +#include #include #include @@ -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