aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRavi Sastry Kadali <ravisastryk@gmail.com>2026-02-07 11:39:15 -0800
committerGopher Robot <gobot@golang.org>2026-03-03 16:23:39 -0800
commitfdf3bee34261f383e394a06b1e4cf87fff684c1b (patch)
treebf232c990eb8e8cb6879c963a188a385fa2b9000 /src/runtime
parent0856d46fd1f5d882e9033af813b0e2acfc31889f (diff)
downloadgo-fdf3bee34261f383e394a06b1e4cf87fff684c1b.tar.xz
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 Reviewed-on: https://go-review.googlesource.com/c/go/+/743080 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ravi Sastry Kadali <ravisastryk@gmail.com> Reviewed-by: Nicholas Husin <nsh@golang.org> Reviewed-by: Nicholas Husin <husin@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions