Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221681 Improved IPv6 Support
  3. JDK-8222562

IPv6 only systems fail on setsockopt(IPV6_V6ONLY, 0)

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • core-libs
    • b19

    Description

      Some of the networking code tries to support dual socket support. However, it doesn't work with IPv6 only systems.
      With our custom kernel that disables IPv4, setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, 0) fails, and then the networking code bails.

      If IPv4 is detected to not be working, the IPV6_V6ONLY option should not be set.

      Attachments

        Activity

          People

            aeubanks Arthur Eubanks
            aeubanks Arthur Eubanks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: