aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/geom/class/uzip
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2025-12-26 09:58:59 +0000
committerKristof Provost <kp@FreeBSD.org>2025-12-26 09:58:59 +0000
commit2e7699355f08258365fb5f65d11ac297e20f78de (patch)
treef1d6c514847d53b1ec908a4aeab70b1fc65cbc9a /tests/sys/geom/class/uzip
parenta3394b6a23fb66ccb7e588129d2465ef8ea26d30 (diff)
pf: don't reject route-to'd too-large packetsHEADmain
If we're sending a packet via pf_route()/pf_route6() we check for packet size and potentially generate ICMP(6) packet too big messages. If we do, don't consider this a rejected packet. That is, return PF_PASS and set the mbuf to NULL rather than returning PF_DROP. This matters for locally generated packets, because with PF_DROP we can end up returning EACCES to userspace, causing the connection to terminate. Instead, with PF_PASS and a NULL mbuf this is translated to PFIL_CONSUMED, which does not return an error to userspace. MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'tests/sys/geom/class/uzip')
0 files changed, 0 insertions, 0 deletions