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)
Thu, Aug 13, 8:32 PM
Unknown Object (File)
Thu, Aug 13, 6:22 PM
Unknown Object (File)
Thu, Aug 13, 12:07 PM
Unknown Object (File)
Thu, Aug 13, 11:37 AM
Unknown Object (File)
Wed, Aug 12, 1:47 PM
Unknown Object (File)
Tue, Aug 11, 11:32 PM
Unknown Object (File)
Mon, Aug 10, 7:01 PM
Unknown Object (File)
Sun, Aug 9, 11:03 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41281
Build 38170: 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.