diff options
author | 2016-10-18 11:20:42 +0000 | |
---|---|---|
committer | 2016-10-18 11:20:42 +0000 | |
commit | 50188ace62ebd193848f0b5e4f480aa74db65a41 (patch) | |
tree | 43f28f9507e4a92c67cea2deb4af999feb0d188d /lib/libc/stdio/getwc.c | |
parent | Place splsoftnet() in route_input() to shut up splassert warnings (diff) | |
download | wireguard-openbsd-50188ace62ebd193848f0b5e4f480aa74db65a41.tar.xz wireguard-openbsd-50188ace62ebd193848f0b5e4f480aa74db65a41.zip |
The checksum of a ICMP "need to frag" packet for TCP was wrong when
created from a ICMP6 "too big" packet. The function pf_change_icmp_af()
has code to adjust the pseudo-header checksum in the ICMP6 case,
but pf_test_state_icmp() changed the proto before the case was
entered.
So call pf_change_icmp_af() before the pd->proto is converted in
the TCP and UDP payload case like it was already done for ICMP and
ICMP6 payload.
Found by sys/net/pf_forward regress test; OK henning@
Diffstat (limited to 'lib/libc/stdio/getwc.c')
0 files changed, 0 insertions, 0 deletions