diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-05 20:22:26 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-05 20:22:26 +0000 |
commit | 88168b9e32780dcedd2d84757c167923074d5cbc (patch) | |
tree | b134c743caba9861925236bb4494d4c4edb6c578 /pkg/tcpip/transport | |
parent | 3491ec5ee80b3ed2037a099ccbdc8b482816fc47 (diff) | |
parent | 91e2d15a627a5997f7d237e6c5695403c148f4e5 (diff) |
Merge release-20200928.0-39-g91e2d15a6 (automated)
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r-- | pkg/tcpip/transport/tcp/connect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/connect.go b/pkg/tcpip/transport/tcp/connect.go index 6891fd245..189c01c8f 100644 --- a/pkg/tcpip/transport/tcp/connect.go +++ b/pkg/tcpip/transport/tcp/connect.go @@ -804,7 +804,7 @@ func sendTCPBatch(r *stack.Route, tf tcpFields, data buffer.VectorisedView, gso pkt.Owner = owner pkt.EgressRoute = r pkt.GSOOptions = gso - pkt.NetworkProtocolNumber = r.NetworkProtocolNumber() + pkt.NetworkProtocolNumber = r.NetProto data.ReadToVV(&pkt.Data, packetSize) buildTCPHdr(r, tf, pkt, gso) tf.seq = tf.seq.Add(seqnum.Size(packetSize)) |