summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/tcp/forwarder.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-01-29 15:41:51 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-29 15:53:45 -0800
commit51b783505b1ec164b02b48a0fd234509fba01a73 (patch)
treee68ead67e442b6f4df6e5852d8267f3d0fa37646 /pkg/tcpip/transport/tcp/forwarder.go
parent148fda60e8dee29f2df85e3104e3d5de1a225bcf (diff)
Add support for TCP_DEFER_ACCEPT.
PiperOrigin-RevId: 292233574
Diffstat (limited to 'pkg/tcpip/transport/tcp/forwarder.go')
-rw-r--r--pkg/tcpip/transport/tcp/forwarder.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/tcp/forwarder.go b/pkg/tcpip/transport/tcp/forwarder.go
index 7eb613be5..c9ee5bf06 100644
--- a/pkg/tcpip/transport/tcp/forwarder.go
+++ b/pkg/tcpip/transport/tcp/forwarder.go
@@ -157,13 +157,13 @@ func (r *ForwarderRequest) CreateEndpoint(queue *waiter.Queue) (tcpip.Endpoint,
TSVal: r.synOptions.TSVal,
TSEcr: r.synOptions.TSEcr,
SACKPermitted: r.synOptions.SACKPermitted,
- })
+ }, queue)
if err != nil {
return nil, err
}
// Start the protocol goroutine.
- ep.startAcceptedLoop(queue)
+ ep.startAcceptedLoop()
return ep, nil
}