Re: [PATCH v2] bonding: move IPv6 support into a separate kernel module

From: Chuck Lever
Date: Thu Feb 26 2009 - 15:14:20 EST


On Feb 26, 2009, at Feb 26, 2009, 3:01 PM, Brian Haley wrote:
Chuck Lever wrote:
I think changing ipv6 to support a disable_ipv6 module parameter like Vlad suggested would work, as long as we're not worried about someone opening an AF_INET6 socket - even if they do they won't get anywhere.
In this case, if IPV6ONLY is set on an AF_INET6 listener, it should still get AF_INET traffic, correct?

No, it should get nothing, and a send should get ENETUNREACH.

Sorry, I got my logic backwards. If IPV6ONLY is intentionally cleared on an AF_INET6 socket, it should still be able to handle AF_INET traffic.

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/