Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2003 20:31:04 +0900
From:      Hajimu UMEMOTO <ume@mahoroba.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Scott Long <scott_long@btc.adaptec.com>, 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
Message-ID:  <yge7kcfm0av.wl%ume@mahoroba.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Tue, 4 Feb 2003 20:06:15 +0000
>>>>> David Malone <dwmalone@maths.tcd.ie> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge7kcfm0av.wl%ume>