6633549 (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Mon Jul 16 10:39:08 PDT 2012
- Previous message: Code Review Request: 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
- Next message: 6633549 (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is one I tracked down a long time ago but didn't push the changes for some reason. On Linux we have disabled support for include-mode multicasting with IPv6 addresses (this is allowed by the spec). The original issue was because the values for MCAST_{JOIN,LEAVE}_SOURCE_GROUP were incorrect, an issue that only exists when compiling on older systems that don't have the definitions in the include files.
The fix is simply to get rid of the definitions and change joinOrDrop6 so that it now supports include-mode filtering. I've also updated one of the tests to assert that UOE cannot be thrown on Linux.
The webrev with the changes is here:
http://cr.openjdk.java.net/~alanb/6633549/webrev/
-Alan
- Previous message: Code Review Request: 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
- Next message: 6633549 (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]