HomeFreeBSD

bridge: Try to make the GRAB_OUR_PACKETS macro a bit more readable

Description

bridge: Try to make the GRAB_OUR_PACKETS macro a bit more readable

  • Let the compiler use constant folding to eliminate conditionals.
  • Fix some inconsistent whitespace.

No functional change intended.

Reviewed by: zlei
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D38410

(cherry picked from commit 82bbdde4ebc9deb30d3a05ddec4d76f0a88df881)

Details

Provenance
markjAuthored on Apr 5 2023, 2:37 PM
Reviewer
zlei
Differential Revision
D38410: bridge: Try to make the GRAB_OUR_PACKETS macro a bit more readable
Parents
rG0f1e73b789c8: netisr: Purge another reference to NETISR_EPAIR
Branches
Unknown
Tags
Unknown