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)
Fri, Aug 15, 12:18 AM
Unknown Object (File)
Thu, Aug 14, 11:54 AM
Unknown Object (File)
Mon, Jul 28, 9:08 PM
Unknown Object (File)
Mon, Jul 28, 6:31 PM
Unknown Object (File)
Mon, Jul 28, 4:43 PM
Unknown Object (File)
Mon, Jul 28, 4:54 AM
Unknown Object (File)
Jun 24 2025, 9:48 PM
Unknown Object (File)
Jun 21 2025, 4:46 AM

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