summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-15 21:08:41 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-15 21:08:41 +0000
commit997ad12a41b3be079dd981b02d756921ed7022c5 (patch)
tree9fc82d3ef1ab80da591959d4b17622931bb2f7e3 /pkg/tcpip
parent5820ac43e4badb60f2392c90a79f82ae0c05723f (diff)
parente4fc15bd88f0b62fb8923f1417175f015482c0bd (diff)
Merge release-20211005.0-49-ge4fc15bd8 (automated)
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/link/pipe/pipe.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/tcpip/link/pipe/pipe.go b/pkg/tcpip/link/pipe/pipe.go
index 3ed0aa3fe..c67ca98ea 100644
--- a/pkg/tcpip/link/pipe/pipe.go
+++ b/pkg/tcpip/link/pipe/pipe.go
@@ -123,4 +123,6 @@ func (*Endpoint) AddHeader(_, _ tcpip.LinkAddress, _ tcpip.NetworkProtocolNumber
}
// WriteRawPacket implements stack.LinkEndpoint.
-func (*Endpoint) WriteRawPacket(*stack.PacketBuffer) tcpip.Error { return &tcpip.ErrNotSupported{} }
+func (e *Endpoint) WriteRawPacket(pkt *stack.PacketBuffer) tcpip.Error {
+ return e.WritePacket(stack.RouteInfo{}, 0, pkt)
+}