From owner-freebsd-stable@FreeBSD.ORG Tue Sep 16 19:57:43 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92031106566B for ; Tue, 16 Sep 2008 19:57:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (unknown [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6D0538FC18 for ; Tue, 16 Sep 2008 19:57:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTP id 2339A46B5B; Tue, 16 Sep 2008 15:57:43 -0400 (EDT) Date: Tue, 16 Sep 2008 20:57:43 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Josh Carroll In-Reply-To: <8cb6106e0809160941m57b9aa9ehc21b5f92a396082b@mail.gmail.com> Message-ID: References: <8cb6106e0809160941m57b9aa9ehc21b5f92a396082b@mail.gmail.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Stable Subject: Re: recent MFC of soreceive_dgram breaks kernels without INET6 option X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 19:57:43 -0000 On Tue, 16 Sep 2008, Josh Carroll wrote: > I just csup'd this morning and now I cannot build a kernel that does not > include INET6. I can send my KERNCONF, but it is sufficient to create a > kernel config with: > > include GENERIC nooption INET6 > > Here's the error during kernel compilation of a kernel config without > "options INET6" in the kernel config: > > /usr/src/sys/netinet/udp_usrreq.c: In function 'udp_inpcb_init': > /usr/src/sys/netinet/udp_usrreq.c:170: error: 'udp6_usrreqs' > undeclared (first use in this function) > /usr/src/sys/netinet/udp_usrreq.c:170: error: (Each undeclared > identifier is reported only once > /usr/src/sys/netinet/udp_usrreq.c:170: error: for each function it appears in.) > > It looks like the MFC for the new soreceive_dgram stuff is the culprit. > > Can this can be fixed to not require IPv6? I have no desire to include it in > my kernel, but if that will be the requirement going forward, perhaps a note > in UPDATING is in order? This was an oversight on my part -- none of our LINT build targets (apparently) excludes INET6. It's fixed easily with an ifdef, and I've received re@ approval to merge the fix, so it's in the tree as of about an hour or two ago. If you experience continuing problems after a cvsup, please let me know. Robert N M Watson Computer Laboratory University of Cambridge