summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/fdbased/mmap_stub.go
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-08-15 03:11:15 +0000
committerHaibo Xu <haibo.xu@arm.com>2019-08-15 03:19:30 +0000
commit1b1e39d7a1846e9afa9b794c5780a703f4b05211 (patch)
tree9270826f2e4a3424b9fc7cc9be9990ecd6da765f /pkg/tcpip/link/fdbased/mmap_stub.go
parent52843719ca8f4e5a91fed4916ecb0e483ac025b9 (diff)
Enabling pkg/tcpip/link support on arm64.
Signed-off-by: Haibo Xu haibo.xu@arm.com Change-Id: Ib6b4aa2db19032e58bf0395f714e6883caee460a
Diffstat (limited to 'pkg/tcpip/link/fdbased/mmap_stub.go')
-rw-r--r--pkg/tcpip/link/fdbased/mmap_stub.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/link/fdbased/mmap_stub.go b/pkg/tcpip/link/fdbased/mmap_stub.go
index 2dca173c2..67be52d67 100644
--- a/pkg/tcpip/link/fdbased/mmap_stub.go
+++ b/pkg/tcpip/link/fdbased/mmap_stub.go
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build !linux !amd64
+// +build !linux !amd64,!arm64
package fdbased
-// Stubbed out version for non-linux/non-amd64 platforms.
+// Stubbed out version for non-linux/non-amd64/non-arm64 platforms.
func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, error) {
return nil, nil