Commit dc871a5d authored by Mikio Hara's avatar Mikio Hara

Revert "internal/socket: enable {recv,send}mmsg on NetBSD"

This reverts commit 5c0ad186.

Change-Id: I1b6fac0f88816f4464e732d2f8a3d5510decb255
Reviewed-on: https://go-review.googlesource.com/82697Reviewed-by: 's avatarMikio Hara <mikioh.mikioh@gmail.com>
parent f073e086
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.9 // +build go1.9
// +build linux netbsd // +build linux
package socket package socket
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.9 // +build go1.9
// +build !linux,!netbsd // +build !linux
package socket package socket
......
...@@ -145,7 +145,7 @@ func TestUDP(t *testing.T) { ...@@ -145,7 +145,7 @@ func TestUDP(t *testing.T) {
} }
}) })
switch runtime.GOOS { switch runtime.GOOS {
case "android", "linux", "netbsd": case "android", "linux":
t.Run("Messages", func(t *testing.T) { t.Run("Messages", func(t *testing.T) {
data := []byte("HELLO-R-U-THERE") data := []byte("HELLO-R-U-THERE")
wmbs := bytes.SplitAfter(data, []byte("-")) wmbs := bytes.SplitAfter(data, []byte("-"))
...@@ -233,7 +233,7 @@ func BenchmarkUDP(b *testing.B) { ...@@ -233,7 +233,7 @@ func BenchmarkUDP(b *testing.B) {
} }
}) })
switch runtime.GOOS { switch runtime.GOOS {
case "android", "linux", "netbsd": case "android", "linux":
wms := make([]socket.Message, M) wms := make([]socket.Message, M)
for i := range wms { for i := range wms {
wms[i].Buffers = [][]byte{data} wms[i].Buffers = [][]byte{data}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment