4 Commits

Author SHA1 Message Date
Mikio Hara
e78b1e49ae ipv6: don't crash with corrupted control messages
Change-Id: I39f79ec43c73b2fcc90316713181940ada523150
Reviewed-on: https://go-review.googlesource.com/45114
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-06-09 22:10:46 +00:00
Mikio Hara
1a76020cd9 go.net/ipv6: add missing API tests
Now the package has a code coverage of 76.1% of statements.
Also fixes flaky concurrent test.

Fixes golang/go#5696.

R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/45620043
2013-12-31 23:24:59 +09:00
Mikio Hara
d470d77814 go.net/ipv6: fix overlooked execution reorder in test
The test expects to run opt.clear just after opt.set.

Fixes golang/go#5696.

R=dave, fullung
CC=golang-dev
https://golang.org/cl/10285044
2013-06-29 14:04:25 +09:00
Mikio Hara
cdfc4ce106 go.net/ipv6: new package
Package ipv6 implements IP-level socket options for the Internet
Protocol version 6. It also provides datagram based network I/O
methods specific to the IPv6 and higher layer protocols.

Fixes golang/go#5538.

R=dave
CC=golang-dev
https://golang.org/cl/9843044
2013-06-04 17:42:58 +09:00