commit | 28a4bd90d0ab1a29c60a68f30f14ba47235db112 | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Jan 29 10:23:52 2014 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Jan 29 10:23:52 2014 +0900 |
tree | 514e21311486f9c7639b45fb757860a06142b29e | |
parent | f3b815baac3d7098fa494595487a79164e6dc667 [diff] |
go.net/ipv4: handle total length field correctly on FreeBSD 10 FreeBSD 10 kernel has changed its incoming IPv4 packet handling to stop trimming some IPv4 header fields on raw socket IO. This CL just adapts package's IPv4 header representation to look the same even on FreeBSD 10 kernel. For further information: http://svnweb.freebsd.org/base/head/?view=log&pathrev=226105 http://svnweb.freebsd.org/base/head/?view=log&pathrev=241913 http://svnweb.freebsd.org/base/head/?view=log&pathrev=241923 LGTM=iant R=golang-codereviews, gobot, dave, iant CC=golang-codereviews https://golang.org/cl/53030043