Subject: Re: recent kernel changes seem to have broken mozilla
To: None <current-users@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 11/05/2002 17:24:25
On Tue, Nov 05, 2002 at 01:18:36PM +0000, David Laight wrote:
> Some recent kernel change (probably between 30th October and
> 4th November) seems to have stopped mozilla sending out any
> connect requests (i386 almost GENERIC).
> 
> This is almost certainly something to do with ip6 addresses,
> but it always used to work.  I don't think my DNS server returns
> IPv6 addresses.
> 
> The kernel config hasn't changed, and the old kernel works
> with the current userspace.

I've found where it doesn't work, and how to fix it.
But not why it got broken.....

sys/netinet6/in6_pcb.h is missing a #include "opt_inet.h"
and so gets compiled with INET undefined.
in6_pcbconnect() then returns EADDRNOTAVAIL for IPv4 addresses.

I presume INET was defined somewhere else...

	David

-- 
David Laight: david@l8s.co.uk