From eac690e358e25897bb878fdfd1ad7036054162e2 Mon Sep 17 00:00:00 2001 From: Ian Gudger Date: Mon, 12 Aug 2019 13:29:47 -0700 Subject: Fix netstack build error on non-AMD64. This stub had the wrong function signature. PiperOrigin-RevId: 262992682 --- pkg/tcpip/link/fdbased/mmap.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkg/tcpip') diff --git a/pkg/tcpip/link/fdbased/mmap.go b/pkg/tcpip/link/fdbased/mmap.go index fe19c2bc2..2dca173c2 100644 --- a/pkg/tcpip/link/fdbased/mmap.go +++ b/pkg/tcpip/link/fdbased/mmap.go @@ -16,10 +16,8 @@ package fdbased -import "gvisor.dev/gvisor/pkg/tcpip" - // Stubbed out version for non-linux/non-amd64 platforms. -func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, *tcpip.Error) { +func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, error) { return nil, nil } -- cgit v1.2.3