diff options
author | Kristof Provost <kp@FreeBSD.org> | 2020-12-20 20:06:32 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2020-12-23 11:03:20 +0000 |
commit | c3f69af03ae7acc167cc1151f0c1ecc5e014ce4e (patch) | |
tree | 11ed8ca231ef775f8b409f7bd69de041cefcd5d6 /tests | |
parent | 1622a498525b4ef0d23d30a587b9a3888c3ee0d5 (diff) | |
download | src-test-c3f69af03ae7acc167cc1151f0c1ecc5e014ce4e.tar.gz src-test-c3f69af03ae7acc167cc1151f0c1ecc5e014ce4e.zip |
pf: Fix unaligned checksum updates
The algorithm we use to update checksums only works correctly if the
updated data is aligned on 16-bit boundaries (relative to the start of
the packet).
Import the OpenBSD fix for this issue.
PR: 240416
Obtained from: OpenBSD
MFC after: 1 week
Reviewed by: tuexen (previous version)
Differential Revision: https://reviews.freebsd.org/D27696
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions