Revert "internal/socket: enable {recv,send}mmsg on NetBSD"
This reverts commit 5c0ad186f08efc9d3f81cf1861e68e70ca98198a.
Change-Id: I1b6fac0f88816f4464e732d2f8a3d5510decb255
Reviewed-on: https://go-review.googlesource.com/82697
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
diff --git a/internal/socket/rawconn_mmsg.go b/internal/socket/rawconn_mmsg.go
index 775a220..499164a 100644
--- a/internal/socket/rawconn_mmsg.go
+++ b/internal/socket/rawconn_mmsg.go
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// +build go1.9
-// +build linux netbsd
+// +build linux
package socket
diff --git a/internal/socket/rawconn_nommsg.go b/internal/socket/rawconn_nommsg.go
index 8bfea65..f78832a 100644
--- a/internal/socket/rawconn_nommsg.go
+++ b/internal/socket/rawconn_nommsg.go
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// +build go1.9
-// +build !linux,!netbsd
+// +build !linux
package socket
diff --git a/internal/socket/socket_go1_9_test.go b/internal/socket/socket_go1_9_test.go
index 3a764ab..c4edd4a 100644
--- a/internal/socket/socket_go1_9_test.go
+++ b/internal/socket/socket_go1_9_test.go
@@ -145,7 +145,7 @@
}
})
switch runtime.GOOS {
- case "android", "linux", "netbsd":
+ case "android", "linux":
t.Run("Messages", func(t *testing.T) {
data := []byte("HELLO-R-U-THERE")
wmbs := bytes.SplitAfter(data, []byte("-"))
@@ -233,7 +233,7 @@
}
})
switch runtime.GOOS {
- case "android", "linux", "netbsd":
+ case "android", "linux":
wms := make([]socket.Message, M)
for i := range wms {
wms[i].Buffers = [][]byte{data}