Port FreeBSD/pf_norm.c 1.18 - fix 1's complement carry for csum_data when
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 11 Aug 2007 18:51:34 +0000 (18:51 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 11 Aug 2007 18:51:34 +0000 (18:51 +0000)
commiteb72489ef71d6ea947f883c545bfb2b578ee27f5
treee4eda8ec83a9c2c11a62a6b5bfb825d1270e3129
parente595c6cdf0a200a5cd33ffd698c790c7fb8a9ff4
Port FreeBSD/pf_norm.c 1.18 - fix 1's complement carry for csum_data when
pasting IP fragments together.   Use a slightly differnt calculation.
FreeBSD uses a while() loop which only ever iterates once, so you only
really need an if().
sys/net/pf/pf_norm.c