icmp: Don't convert saved ip header's length into host byte order
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 17 Nov 2014 06:42:39 +0000 (14:42 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 17 Nov 2014 06:42:39 +0000 (14:42 +0800)
commit485b59d54d5c2cb37225750de501a73b833b3ab9
tree30f9b95fb8b45e8e8ef9e90656ebd5a44f7d6ef5
parenta3f5db13444ab566a676a0f666d3e73ed27ac48b
icmp: Don't convert saved ip header's length into host byte order

No kernel code depends on this and it actually whacks the icmp header
passed to userland through SOCK_RAW socket.  ICMP redirect processing
does not need fix (it does not do the convertion).
sys/netinet/ip_icmp.c