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)
Wed, Mar 5, 2:39 PM
Unknown Object (File)
Tue, Mar 4, 2:49 AM
Unknown Object (File)
Fri, Feb 28, 2:50 PM
Unknown Object (File)
Sun, Feb 23, 6:12 PM
Unknown Object (File)
Sun, Feb 23, 8:13 AM
Unknown Object (File)
Sat, Feb 22, 2:41 PM
Unknown Object (File)
Sat, Feb 22, 10:12 AM
Unknown Object (File)
Fri, Feb 21, 9:33 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.