]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Test scrub fragment reassemble on interfaces with different MTU
authorKristof Provost <kp@FreeBSD.org>
Tue, 27 Apr 2021 16:46:03 +0000 (18:46 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 7 May 2021 08:19:05 +0000 (10:19 +0200)
commitbecdc0c0dc7604389dd06b682ab11ed4dc43afea
treeecfb084d9fa37794fdaa618d5b2ec7251bbb56bc
parentaf1b05bb32b5440dd999853bd7c01a5b8c0d73f4
pf tests: Test scrub fragment reassemble on interfaces with different MTU

There's a problem with pf's reassembly code where it produces incorrect
checksums when reassembling across interfaces with different MTUs.
Test this.

PR: 255432
Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30013

(cherry picked from commit 388c0cde10293d9a3434e99146bf391aec6878a3)
tests/sys/netpfil/pf/fragmentation.sh