summaryrefslogtreecommitdiffhomepage
path: root/net/netns/netns_linux_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'net/netns/netns_linux_test.go')
-rw-r--r--net/netns/netns_linux_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/netns/netns_linux_test.go b/net/netns/netns_linux_test.go
index 5afe647ef..8b050f7f5 100644
--- a/net/netns/netns_linux_test.go
+++ b/net/netns/netns_linux_test.go
@@ -49,12 +49,3 @@ func TestBypassMarkInSync(t *testing.T) {
}
t.Errorf("tailscaleBypassMark not found in router_linux.go")
}
-
-func BenchmarkDefaultRouteInterface(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- if _, err := defaultRouteInterface(); err != nil {
- b.Fatal(err)
- }
- }
-}