From owner-cvs-all Tue Feb 4 12: 6:19 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 92BC137B401; Tue, 4 Feb 2003 12:06:18 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id ED6F343F75; Tue, 4 Feb 2003 12:06:16 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Feb 2003 20:06:15 +0000 (GMT) Date: Tue, 4 Feb 2003 20:06:15 +0000 From: David Malone To: Scott Long Cc: Hajimu UMEMOTO , 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: <20030204200615.GA94885@walton.maths.tcd.ie> References: <200302031743.h13HhKSI085787@repoman.freebsd.org> <3E401B44.3080801@btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E401B44.3080801@btc.adaptec.com> User-Agent: Mutt/1.3.25i 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 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? One option would be to to make the sysctl variable we're looking at present in kernels without IPv6, but just as a variable and not as a sysctl. Another would be to look up the sysclt or symbol by name in the running kernel and bail if it isn't present. I presume we've run into this sort of problem before... David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message