HomeFreeBSD

Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib()

Description

Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib()
with acquired RIB lock.

This fixes a possible panic due to trying to acquire RIB rlock when it is
already exclusive locked.

PR: 215963, 215122
MFC after: 1 week
Sponsored by: Yandex LLC

Details

Provenance
aeAuthored on
Parents
rS319894: Added two old pthread scenarios.
Branches
Unknown
Tags
Unknown