freebsd-dev/sys/netpfil/pf
Kristof Provost c3f69af03a 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
2020-12-23 12:03:20 +01:00
..
if_pflog.c Use the new VNET_DEFINE_STATIC macro when we are defining static VNET 2018-07-24 16:35:52 +00:00
if_pfsync.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
in4_cksum.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
pf_altq.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
pf_if.c pf: do not remove kifs that are referenced by rules 2020-10-13 11:04:00 +00:00
pf_ioctl.c pf: Make tag hashing more robust 2020-11-24 16:18:47 +00:00
pf_lb.c pf: Fix endless loop on NAT exhaustion with sticky-address 2018-12-12 20:15:06 +00:00
pf_mtag.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
pf_norm.c pf: Fix unaligned checksum updates 2020-12-23 12:03:20 +01:00
pf_osfp.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pf_ruleset.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pf_table.c pf: Fix table entry counter toggling 2020-12-02 16:01:43 +00:00
pf.c pf: Fix unaligned checksum updates 2020-12-23 12:03:20 +01:00
pf.h netpfil: Introduce PFIL_FWD flag 2018-03-23 16:56:44 +00:00