mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
cfe3c2a7525b50c3d707256e371c90938cfef98a
This change fixes lazy socket descriptor handling in ListenPacket to avoid treading on someone's socket descriptors which are recycled by descriptor duplication. The issue happens when calling ListenPacket for non-privileged ICMP endpoint concurrently. Fixes golang/go#16969. Change-Id: I4d7672535f5aeb2a0b71f8af2c7ba271a085f418 Reviewed-on: https://go-review.googlesource.com/28473 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
…
…
…
…
This repository holds supplementary Go networking libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
99.9%