Page MenuHomeFreeBSD

pf: move pf_test_rule() out of pf_setup_pdesc()
ClosedPublic

Authored by kp on Oct 4 2024, 12:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 9:00 AM
Unknown Object (File)
Sat, Oct 4, 4:59 AM
Unknown Object (File)
Sep 7 2025, 6:53 AM
Unknown Object (File)
Sep 4 2025, 2:37 PM
Unknown Object (File)
Aug 15 2025, 12:18 AM
Unknown Object (File)
Aug 14 2025, 11:54 AM
Unknown Object (File)
Jul 28 2025, 9:08 PM
Unknown Object (File)
Jul 28 2025, 6:31 PM

Details

Summary

Move the call to pf_test_rule() for fragments that have not been
reassembled by normalization from pf_setup_pdesc() to pf_test().
This simplifies the paramter list of pf_setup_pdesc() as it can
concentrate on its job filling the pf_pdesc struct.
ok henning mpf

Obtained from: OpenBSD, bluhm <bluhm@openbsd.org>, fb9fe53b92
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable