summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getwc.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-10-18 11:20:42 +0000
committerbluhm <bluhm@openbsd.org>2016-10-18 11:20:42 +0000
commit50188ace62ebd193848f0b5e4f480aa74db65a41 (patch)
tree43f28f9507e4a92c67cea2deb4af999feb0d188d /lib/libc/stdio/getwc.c
parentPlace splsoftnet() in route_input() to shut up splassert warnings (diff)
downloadwireguard-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