diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-30 23:43:46 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-30 23:43:46 +0000 |
commit | 145baf8763889aab2840b745c660e6ceebbd38d0 (patch) | |
tree | 6b8b4e25583002b0eee3f8c3a74fcdb408ab8808 /pkg/tcpip/transport | |
parent | d8ea80babf328851bf642707c71dfe6f025db888 (diff) | |
parent | ae15d90436ec5ecd8795bed2a357b1990123e8fd (diff) |
Merge release-20200422.0-7-gae15d90 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/tcp/connect.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go index 76e27bf26..a7e088d4e 100644 --- a/pkg/tcpip/transport/tcp/connect.go +++ b/pkg/tcpip/transport/tcp/connect.go @@ -801,6 +801,9 @@ func sendTCPBatch(r *stack.Route, tf tcpFields, data buffer.VectorisedView, gso pkt.Header = buffer.NewPrependable(hdrSize) pkt.Hash = tf.txHash pkt.Owner = owner + pkt.EgressRoute = r + pkt.GSOOptions = gso + pkt.NetworkProtocolNumber = r.NetworkProtocolNumber() data.ReadToVV(&pkt.Data, packetSize) buildTCPHdr(r, tf, &pkt, gso) tf.seq = tf.seq.Add(seqnum.Size(packetSize)) |