RFR: 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups

Alan Bateman alanb at openjdk.org
Thu Jun 15 11:34:58 UTC 2023


On Thu, 15 Jun 2023 11:27:48 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

> Yes, the error is the same as for the IPv4 option. If you like I can change the test to set the option and check an exception is not thrown in those cases.

If you are confident that ENOPROTOOPT is returned by older kernels then okay.

Also just to double check, IPV6_MULTICAST_ALL applied only to IPv6 multicast datagrams, we have to continue to set IP_MULTICAST_ALL for cases where the IPv6 socket joins an IPv4 multicast group.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14491#discussion_r1230870994


More information about the nio-dev mailing list