HomeFreeBSD

Rework if_gre(4) to use encap_lookup_t method to speedup lookup

Description

Rework if_gre(4) to use encap_lookup_t method to speedup lookup
of needed interface when many gre interfaces are present.

Remove rmlock from gre_softc, use epoch(9) and CK_LIST instead.
Move more AF-related code into AF-related locations. Use hash table to
speedup lookup of needed softc.

Details

Provenance
aeAuthored on
Parents
rS335047: Don't jump to VA space until kernel is ready.
Branches
Unknown
Tags
Unknown