HomeFreeBSD

gre: simplify RSS ifdefs

Description

gre: simplify RSS ifdefs

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.

Reviewed by: melifaro, kbowling
Obtained from: OPNsense
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31584

Details

Provenance
franco_opnsense.orgAuthored on Aug 18 2021, 5:05 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Aug 18 2021, 5:05 PM
Reviewer
melifaro
Differential Revision
D31584: gre: simplify RSS ifdefs
Parents
rG89c0d2b1906d: truncate(1): main() return statement style fix
Branches
Unknown
Tags
Unknown