summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/dprintf.c
diff options
context:
space:
mode:
authorkp <kp@FreeBSD.org>2015-10-21 15:32:21 +0000
committerkp <kp@FreeBSD.org>2015-10-21 15:32:21 +0000
commitd621159ed6a7d1c98cf81f17e313dffc64bf7c4f (patch)
treebf808b690f2a7aeabe78ae7b008b62f190733067 /lib/libc/stdio/dprintf.c
parenta7e84cb353a2230668d83d375dc3fae7f6419bab (diff)
downloadFreeBSD-src-d621159ed6a7d1c98cf81f17e313dffc64bf7c4f.zip
FreeBSD-src-d621159ed6a7d1c98cf81f17e313dffc64bf7c4f.tar.gz
MFC r289316:
pf: Fix TSO issues In certain configurations (mostly but not exclusively as a VM on Xen) pf produced packets with an invalid TCP checksum. The problem was that pf could only handle packets with a full checksum. The FreeBSD IP stack produces TCP packets with a pseudo-header checksum (only addresses, length and protocol). Certain network interfaces expect to see the pseudo-header checksum, so they end up producing packets with invalid checksums. To fix this stop calculating the full checksum and teach pf to only update TCP checksums if TSO is disabled or the change affects the pseudo-header checksum. PR: 154428, 193579, 198868 Relnotes: yes Sponsored by: RootBSD
Diffstat (limited to 'lib/libc/stdio/dprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud