From owner-cvs-all Wed Feb 5 3:31:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8E0937B401; Wed, 5 Feb 2003 03:31:11 -0800 (PST) Received: from cheer.mahoroba.org (flets20-242.kamome.or.jp [218.45.20.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 217DA43F9B; Wed, 5 Feb 2003 03:31:10 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:f8GpHqApoNfJSJCHi2Zg69royo5UrTev5ICY5u3bbXFDtDwnnFHBUPOWACUpo0Mv@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h15BV4CQ015865 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 5 Feb 2003 20:31:04 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 05 Feb 2003 20:31:04 +0900 Message-ID: From: Hajimu UMEMOTO To: David Malone Cc: Scott Long , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/alpha/linux linux.h src/sys/compat/linux linux_socket.c src/sys/i386/linux linux.h src/sys/modules/linux Makefile In-Reply-To: <20030204200615.GA94885@walton.maths.tcd.ie> References: <200302031743.h13HhKSI085787@repoman.freebsd.org> <3E401B44.3080801@btc.adaptec.com> <20030204200615.GA94885@walton.maths.tcd.ie> User-Agent: xcite1.38> Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.7-STABLE MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-1.8 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT version=2.44 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Tue, 4 Feb 2003 20:06:15 +0000 >>>>> David Malone said: dwmalone> On Tue, Feb 04, 2003 at 12:57:56PM -0700, Scott Long wrote: > The change to src/sys/modules/linux/Makefile unfortunately has a side > effect of make INET6 mandatory in the kernel in you want to load this as > a module. It's a tough problem to solve, I guess, since modules builds > are completely decoupled from kernel config files. Any ideas? dwmalone> One option would be to to make the sysctl variable we're looking dwmalone> at present in kernels without IPv6, but just as a variable and not dwmalone> as a sysctl. Another would be to look up the sysclt or symbol by dwmalone> name in the running kernel and bail if it isn't present. The ip6_v6only variable is defined in in6_proto.c, and when options INET6 is not defined, it is not compiled in. So, there is no good place to hold ip6_v6only. I committed to don't refer ip6_v6only variable when building as a kernel module. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message