When reassembled IPv6 fragments are NATed or RDRed by pf, the
authorbluhm <bluhm@openbsd.org>
Sun, 13 Jul 2014 17:41:04 +0000 (17:41 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 13 Jul 2014 17:41:04 +0000 (17:41 +0000)
commit249bc5f3a3c1084829b0c73fcd806a889884ba61
treed8aa1d9812ec8ebcd6baf00e68a9f6f5d1cb02e5
parenta23815a3e9dbc3f6b9fe505a2969e0ae47b6f41c
When reassembled IPv6 fragments are NATed or RDRed by pf, the
checksum has to be recalculated before the packet is fragmented
again.  Put a missing in6_proto_cksum_out() into pf_refragment6().
This makes run-regress-frag6 and run-regress-frag6-ext pass again.
From Matthias Pitzl; OK henning@
sys/net/pf_norm.c