HomeFreeBSD

Replace ip6_ouput fib6_lookup_nh_<ext|basic> calls with fib6_lookup().

Description

Replace ip6_ouput fib6_lookup_nh_<ext|basic> calls with fib6_lookup().

fib6_lookup_nh_ represents pre-epoch generation of fib api,
providing less guarantees over pointer validness and requiring
on-stack data copying.

Conversion is straight-forwarded, as the only 2 differences are
requirement of running in network epoch and the need to handle
RTF_GATEWAY case in the caller code.

Reviewed by: ae
Differential Revision: https://reviews.freebsd.org/D24973

Details

Provenance
melifaroAuthored on
Reviewer
ae
Differential Revision
D24973: Replace fib6_lookup_nh_<ext|basic> calls with fib6_lookup.
Parents
rS361572: Switch gif(4) path verification to fib[46]_check_urfp().
Branches
Unknown
Tags
Unknown