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

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
rGc67eb393fa00: tcp_hpts: plug a compiler warn
Branches
Unknown
Tags
Unknown