summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/nested/nested.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-09-09 23:21:49 +0000
committergVisor bot <gvisor-bot@google.com>2021-09-09 23:21:49 +0000
commit0e636a3408aac3cb6d9880a42ee217a48afa199b (patch)
treef1cf82acf0a07fcc66c4028369f689b9d9ad6e64 /pkg/tcpip/link/nested/nested.go
parent905089a76d1c93f8bcf082a1c4a4eb58fafe9ea4 (diff)
parent833d933afda03706328ac556d08294a78e372a6a (diff)
Merge release-20210830.0-29-g833d933af (automated)
Diffstat (limited to 'pkg/tcpip/link/nested/nested.go')
-rw-r--r--pkg/tcpip/link/nested/nested.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/tcpip/link/nested/nested.go b/pkg/tcpip/link/nested/nested.go
index 14cb96d63..83a6c1cc8 100644
--- a/pkg/tcpip/link/nested/nested.go
+++ b/pkg/tcpip/link/nested/nested.go
@@ -60,16 +60,6 @@ func (e *Endpoint) DeliverNetworkPacket(remote, local tcpip.LinkAddress, protoco
}
}
-// DeliverOutboundPacket implements stack.NetworkDispatcher.DeliverOutboundPacket.
-func (e *Endpoint) DeliverOutboundPacket(remote, local tcpip.LinkAddress, protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer) {
- e.mu.RLock()
- d := e.dispatcher
- e.mu.RUnlock()
- if d != nil {
- d.DeliverOutboundPacket(remote, local, protocol, pkt)
- }
-}
-
// Attach implements stack.LinkEndpoint.
func (e *Endpoint) Attach(dispatcher stack.NetworkDispatcher) {
e.mu.Lock()