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)
Mar 7 2024, 8:42 PM
Unknown Object (File)
Jan 15 2024, 11:02 PM
Unknown Object (File)
Dec 28 2023, 4:44 PM
Unknown Object (File)
Dec 20 2023, 9:29 AM
Unknown Object (File)
Dec 20 2023, 4:56 AM
Unknown Object (File)
Dec 12 2023, 1:34 AM
Unknown Object (File)
Sep 8 2023, 3:13 AM
Unknown Object (File)
Aug 14 2023, 10:50 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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