Subject: Re: kernel option for "socket: Protocol not supported"
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 02/22/2006 04:51:03
>> I agree here; but note that we surely also have a lot of code that
>> breaks or at least gives similar error messages if we disable IPv4.
> The bug is simply that our libc resolver code returns addresses for
> families that the kernel does not support.  It should check and
> remove them upfront.

I'd disagree, actually.  Not all uses of the resolver are to try to
initiate communication with, and *definitely* not all uses of the
resolver are to try to initiate communication with from the current
host more-or-less immediately after the query.  (Most, perhaps.
Definitely not all.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B