udpsock: remove TODO comment on ephemeral ports being racy

This commit is contained in:
Scott Feldman
2023-04-01 14:14:53 -07:00
committed by deadprogram
parent 331151cafe
commit ad745d61ae
-1
View File
@@ -126,7 +126,6 @@ type UDPConn struct {
var eport = int32(49151)
func ephemeralPort() int {
// TODO: this is racy, if concurrent DialUDPs; use atomic?
if eport == int32(65535) {
eport = int32(49151)
} else {