summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/nic.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-25 22:56:14 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-25 22:56:14 +0000
commit2442e44c4b5642796de0687d024fbaf77178cb4e (patch)
tree8bd88a9f1b6a919e77316d61c679b433c96fbf8d /pkg/tcpip/stack/nic.go
parenta8045a6fb3585c208897f52180b7ab84e5635677 (diff)
parent2485a4e2cb4aaee8f1a5e760541fb02e9090de44 (diff)
Merge release-20201109.0-117-g2485a4e2c (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r--pkg/tcpip/stack/nic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go
index 43696ba14..5f3757de0 100644
--- a/pkg/tcpip/stack/nic.go
+++ b/pkg/tcpip/stack/nic.go
@@ -267,7 +267,7 @@ func (n *NIC) WritePacket(r *Route, gso *GSO, protocol tcpip.NetworkProtocolNumb
if ch, err := r.Resolve(nil); err != nil {
if err == tcpip.ErrWouldBlock {
r := r.Clone()
- n.stack.linkResQueue.enqueue(ch, &r, protocol, pkt)
+ n.stack.linkResQueue.enqueue(ch, r, protocol, pkt)
return nil
}
return err