[RFR]: 8222562: IPv6 only systems fail on setsockopt(IPV6_V6ONLY, 0)

Arthur Eubanks aeubanks at google.com
Mon Apr 22 16:29:55 UTC 2019


>
> It turns out these patches only apply to a modified kernel which has
>> patches to turn off IPv4. This specific patch doesn't make sense to submit
>> if the kernel patches are not upstream.
>>
>
> I disagree a little.
> Google may be decades ahead, but IPV4 being unsupported is a very
> reasonable system configuration option that will eventually be part of
> every OS.
> Most of the time nonstandard kernels can be simulated for testing via
> LD_PRELOAD interposing in front of libc, since we never talk to the kernel
> directly.
> And even if some changes can only be tested with Google's linux kernel
> mods, that is still OK IMO.
>
When I said "this specific patch" I meant specifically checking
for EAFNOSUPPORT. Some other form of this, such as not trying to set
IPV6_V6ONLY to 0 when IPv4 is detected to not be working, may still make
sense (and that's what I'm looking into). And yes that can be tested with
LD_PRELOAD.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190422/d79e43b8/attachment.html>


More information about the net-dev mailing list