diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-25 17:40:04 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-25 17:40:04 +0000 |
commit | 56d7dc03b7dd9c53d326b62564d4e0b2669d7d85 (patch) | |
tree | ab71c6ea3aa7ab273a9384c3962276eb931fe8e9 /pkg/tcpip/transport/tcp | |
parent | 4fa69943460af8f1648d821778ef331589ac6558 (diff) | |
parent | 1641338b14204ea941c547cf4c1a70665922ca05 (diff) |
Merge release-20191114.0-28-g1641338 (automated)
Diffstat (limited to 'pkg/tcpip/transport/tcp')
-rw-r--r-- | pkg/tcpip/transport/tcp/connect.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go index f14f0ca65..4206db8b6 100644 --- a/pkg/tcpip/transport/tcp/connect.go +++ b/pkg/tcpip/transport/tcp/connect.go @@ -647,6 +647,7 @@ func buildTCPHdr(r *stack.Route, id stack.TransportEndpointID, pkt *tcpip.Packet off := pkt.DataOffset // Initialize the header. tcp := header.TCP(hdr.Prepend(header.TCPMinimumSize + optLen)) + pkt.TransportHeader = buffer.View(tcp) tcp.Encode(&header.TCPFields{ SrcPort: id.LocalPort, DstPort: id.RemotePort, |