HomeFreeBSD

Do not use 'struct route_in6' inside hash6_insert().

Description

Do not use 'struct route_in6' inside hash6_insert().

rin6 was used only as sockaddr_in6 storage. Make rtalloc1_fib()

use on-stack sin6 and return rtenry directly, instead of doing
useless work with 'struct route_in6'.

Details

Provenance
melifaroAuthored on
Parents
rS293314: MFC r292440:
Branches
Unknown
Tags
Unknown