HomeFreeBSD

routing: Disallow zero nexthop weights in nexthop groups.

Description

routing: Disallow zero nexthop weights in nexthop groups.

Adding such nexthops breaks calc_min_mpath_slots() assumptions,
thus resulting in the incorrect nexthop group creation and
eventually leading to panic.
Reported by: avg
MFC after: 1 week

Details

Provenance
melifaroAuthored on Aug 30 2021, 9:49 PM
Parents
rG649ccdd75379: OpenSSL: Reduce diff with the upstream
Branches
Unknown
Tags
Unknown