Page MenuHomeFreeBSD

pf: Only hook the Ethernet pfil hook when we have rules
ClosedPublic

Authored by kp on Aug 31 2021, 8:25 AM.
Tags
None
Referenced Files
F149830348: D31742.id95943.diff
Fri, Mar 27, 10:51 AM
Unknown Object (File)
Sun, Mar 22, 9:26 PM
Unknown Object (File)
Mon, Mar 16, 3:52 PM
Unknown Object (File)
Sun, Mar 15, 9:39 PM
Unknown Object (File)
Sun, Mar 1, 8:13 PM
Unknown Object (File)
Feb 9 2026, 2:36 AM
Unknown Object (File)
Jan 17 2026, 11:29 PM
Unknown Object (File)
Jan 6 2026, 10:31 PM

Details

Summary

Avoid the overhead of the Ethernet pfil hooks if we don't have any
Ethernet rules.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

kp requested review of this revision.Aug 31 2021, 8:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 2 2022, 4:01 PM
This revision was automatically updated to reflect the committed changes.