summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/linkaddrcache.go
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-07-17 10:13:57 -0700
committerShentubot <shentubot@google.com>2018-07-17 10:15:00 -0700
commitbeb89bb75749620969b0e1dea65240bf5d4324b2 (patch)
tree68d97bd27e40bdf4f927d0dd0f0dfebe859197bd /pkg/tcpip/stack/linkaddrcache.go
parent29e00c943a61dfcfd4ac8d3f6f526eab641c44a6 (diff)
netstack: update goroutine save / restore safety comments.
PiperOrigin-RevId: 204930314 Change-Id: Ifc4c41ed28616cd57fafbf7c92e87141a945c41f
Diffstat (limited to 'pkg/tcpip/stack/linkaddrcache.go')
-rw-r--r--pkg/tcpip/stack/linkaddrcache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/linkaddrcache.go b/pkg/tcpip/stack/linkaddrcache.go
index a1645c7bf..04b8f251a 100644
--- a/pkg/tcpip/stack/linkaddrcache.go
+++ b/pkg/tcpip/stack/linkaddrcache.go
@@ -262,7 +262,7 @@ func (c *linkAddrCache) startAddressResolution(k tcpip.FullAddress, linkRes Link
e := c.makeAndAddEntry(k, "")
e.addWaker(waker)
- go func() { // S/R-FIXME
+ go func() { // S/R-SAFE: link non-savable; wakers dropped synchronously.
for i := 0; ; i++ {
// Send link request, then wait for the timeout limit and check
// whether the request succeeded.