Reintroduce 5.3-style checksum modification to preserve end-to-end checksums
authorprocter <procter@openbsd.org>
Wed, 17 Aug 2016 03:24:11 +0000 (03:24 +0000)
committerprocter <procter@openbsd.org>
Wed, 17 Aug 2016 03:24:11 +0000 (03:24 +0000)
commitcb6cf9adf0507a7ec17ecd229fedfe15171c1c9f
treeacb4e2b509d81833bcda28857b982e7a42edb37c
parentdccc352cac894ff87726ce261eb7513b5c2de06c
Reintroduce 5.3-style checksum modification to preserve end-to-end checksums
when fiddling with packets but without the mess that motivated Henning to
remove it. Affects only this one aspect of Henning's checksum work. Also tweak
the basic algorithm and supply a correctness argument.

OK dlg@ deraadt@ sthen@; no objection henning@
sys/net/pf.c
sys/net/pf_norm.c
sys/net/pfvar.h