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
Unknown Object (File)
Sun, Jun 21, 11:44 PM
Unknown Object (File)
Apr 30 2026, 6:14 AM
Unknown Object (File)
Apr 30 2026, 6:14 AM
Unknown Object (File)
Apr 29 2026, 12:15 AM
Unknown Object (File)
Apr 29 2026, 12:08 AM
Unknown Object (File)
Apr 28 2026, 1:49 AM
Unknown Object (File)
Apr 27 2026, 9:51 PM
Unknown Object (File)
Apr 27 2026, 8:03 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41836
Build 38724: arc lint + arc unit

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.