Skip to content

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Sep 17, 2025

Allow IP_(ADD|REMOVE)_MEMBERSHIP on AF_INET6 sockets

Just like Linux does.

The new test AddV4MembershipToV6Socket passes only if there is a routing
table entry to resolve the ipv4 multicast address, and that is easiest to setup
via a "external networking" test. Now it turns out that the ipv6 "external
networking" test did not actually have a second non-loopback (external)
interface, so I've added that.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Sep 17, 2025
@copybara-service copybara-service bot changed the title Netstack: Allow IP_(ADD|REMOVE)_MEMBERSHIP on AF_INET6 sockets Allow IP_(ADD|REMOVE)_MEMBERSHIP on AF_INET6 sockets Sep 19, 2025
Just like Linux does.

The new test `AddV4MembershipToV6Socket` passes only if there is a routing
table entry to resolve the ipv4 multicast address, and that is easiest to setup
via a "external networking" test. Now it turns out that the ipv6 "external
networking" test did not actually have a second non-loopback (external)
interface, so I've added that.

PiperOrigin-RevId: 807959283
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant