HomeFreeBSD

Use rn_match instead of doing indirect calls in fib_algo.

Description

Use rn_match instead of doing indirect calls in fib_algo.

Relevant inet/inet6 code has the control over deciding what
the RIB lookup function currently is. With that in mind,
explicitly set it to the current value (rn_match) in the
datapath lookups. This avoids cost on indirect call.

Differential Revision: https://reviews.freebsd.org/D28066

Details

Provenance
melifaroAuthored on Jan 11 2021, 11:11 PM
Differential Revision
D28066: Use rn_match instead of doing indirect calls.
Parents
rG4ea65707d370: exec_new_vmspace: print useful error message on ctty if stack cannot be mapped.
Branches
Unknown
Tags
Unknown