Gopher Robot submitted the change![Open in Gerrit]()
Unreviewed changes
8 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Change information
Commit message:
net: treat EPERM/EACCES in IPv6 probe as supported
When a BPF/seccomp filter denies the bind in the IPv6 capability
probe with EPERM or EACCES, the probe incorrectly reports IPv6 as
unsupported even though socket creation and setsockopt succeeded.
This causes Listen on [::] to silently fall back to IPv4-only.
Treat EPERM/EACCES from the probe bind as "supported" since the
successful socket and setsockopt already confirm kernel capability.
Fixes #77430
Change-Id: Ie1164a3e835521dc441387af1c485a3d15e2e2d9
Files:
- M src/net/ipsock_posix.go
- M src/net/ipsock_test.go
Change size: S
Delta: 2 files changed, 28 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Ravi Sastry Kadali, +2 by Nicholas Husin, +1 by Damien Neil, +1 by Nicholas Husin
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ie1164a3e835521dc441387af1c485a3d15e2e2d9
Gerrit-Change-Number: 743080
Gerrit-PatchSet: 11