aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/netpoll_solaris.go
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@google.com>2022-04-13 15:33:25 +0000
committerDmitri Shuralyov <dmitshur@google.com>2022-04-13 15:33:25 +0000
commited86dfc4e441ee7597586dd858fb87c987f1f3c8 (patch)
tree5a8bc12cf9f7ca932a82e4f8564b18ed928a93e9 /src/runtime/netpoll_solaris.go
parent4ea866a9969f4ff2ffd975116a17bbe01ce00469 (diff)
parent346b18ee9d15410ab08dd583787c64dbed0666d2 (diff)
downloadgo-ed86dfc4e441ee7597586dd858fb87c987f1f3c8.tar.gz
go-ed86dfc4e441ee7597586dd858fb87c987f1f3c8.zip
[dev.boringcrypto.go1.17] all: merge go1.17.9 into dev.boringcrypto.go1.17
Change-Id: I65c66a480c706b9bf453e7df68afdb7fc163f58b
Diffstat (limited to 'src/runtime/netpoll_solaris.go')
-rw-r--r--src/runtime/netpoll_solaris.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/netpoll_solaris.go b/src/runtime/netpoll_solaris.go
index d217d5b160..6e545b3d31 100644
--- a/src/runtime/netpoll_solaris.go
+++ b/src/runtime/netpoll_solaris.go
@@ -158,7 +158,7 @@ func netpollclose(fd uintptr) int32 {
// this call, port_getn will return one and only one event for that
// particular descriptor, so this function needs to be called again.
func netpollupdate(pd *pollDesc, set, clear uint32) {
- if pd.closing {
+ if pd.info().closing() {
return
}