diff options
author | Zhaozhong Ni <nzz@google.com> | 2018-07-17 10:13:57 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-17 10:15:00 -0700 |
commit | beb89bb75749620969b0e1dea65240bf5d4324b2 (patch) | |
tree | 68d97bd27e40bdf4f927d0dd0f0dfebe859197bd /pkg/tcpip/transport | |
parent | 29e00c943a61dfcfd4ac8d3f6f526eab641c44a6 (diff) |
netstack: update goroutine save / restore safety comments.
PiperOrigin-RevId: 204930314
Change-Id: Ifc4c41ed28616cd57fafbf7c92e87141a945c41f
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/tcp/forwarder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/forwarder.go b/pkg/tcpip/transport/tcp/forwarder.go index 71eb89795..8a873db73 100644 --- a/pkg/tcpip/transport/tcp/forwarder.go +++ b/pkg/tcpip/transport/tcp/forwarder.go @@ -90,7 +90,7 @@ func (f *Forwarder) HandlePacket(r *stack.Route, id stack.TransportEndpointID, v // Launch a new goroutine to handle the request. f.inFlight[id] = struct{}{} s.incRef() - go f.handler(&ForwarderRequest{ // S/R-FIXME + go f.handler(&ForwarderRequest{ // S/R-SAFE: not used by Sentry. forwarder: f, segment: s, synOptions: opts, |