diff options
author | 2013-06-05 02:25:05 +0000 | |
---|---|---|
committer | 2013-06-05 02:25:05 +0000 | |
commit | dd13bea9e668bdfa5b305ddc58808b25ab56b167 (patch) | |
tree | eff35afb982cd9ca5739f64ac2fbe5161d577306 /lib/libc | |
parent | fix leaks in mux error paths, from Zhenbo Xu, found by Melton. bz#1967, ok djm (diff) | |
download | wireguard-openbsd-dd13bea9e668bdfa5b305ddc58808b25ab56b167.tar.xz wireguard-openbsd-dd13bea9e668bdfa5b305ddc58808b25ab56b167.zip |
Calculate ICMP checksums with in4_cksum() which lets us get rid of the
clunky m_data/m_len dance needed by in_cksum().
Tested on amd64, hppa, i386, loongson, macppc, sgi, and sparc64.
Thanks to blambert@, bluhm@, and henning@ for help and feedback;
abieber@ for testing this diff independently on macppc; krw@ for access
to his hppa, sgi, and sparc64 test systems at t2k13; nick@ for helping
me figure out Ken's hppa so that I can test this diff. :)
ok blambert bluhm henning mikeb
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions