Page MenuHomeFreeBSD

gre: simplify RSS ifdefs
ClosedPublic

Authored by franco_opnsense.org on Aug 17 2021, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 8, 12:35 PM
Unknown Object (File)
Jun 19 2026, 10:00 PM
Unknown Object (File)
Jun 15 2026, 2:45 PM
Unknown Object (File)
Jun 12 2026, 4:54 PM
Unknown Object (File)
Jun 6 2026, 6:05 PM
Unknown Object (File)
May 16 2026, 7:46 PM
Unknown Object (File)
May 11 2026, 9:59 PM
Unknown Object (File)
May 11 2026, 9:58 PM

Details

Summary

Use the early break to avoid else definitions. When RSS gains a
runtime option previous constructs would duplicate and convolute
the existing code.

While here init flowid and skip magic numbers and late default
assignment.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41096
Build 37985: arc lint + arc unit

Event Timeline

sys/net/if_gre.c
658

this one always wins

sys/net/if_gre.c
658

no, RSS inserts an early break statement above

This revision is now accepted and ready to land.Aug 18 2021, 7:24 AM