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)
Tue, Jan 6, 10:31 PM
Unknown Object (File)
Dec 4 2025, 10:56 AM
Unknown Object (File)
Nov 29 2025, 3:25 AM
Unknown Object (File)
Nov 27 2025, 7:40 PM
Unknown Object (File)
Nov 26 2025, 5:57 PM
Unknown Object (File)
Nov 25 2025, 2:20 PM
Unknown Object (File)
Nov 20 2025, 1:44 AM
Unknown Object (File)
Nov 19 2025, 1:33 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.