HomeFreeBSD

Unify loopback route switching:

Description

Unify loopback route switching:

  • prepare gateway before insertion
  • use RTM_CHANGE instead of explicit find/change route
  • Remove fib argument from ifa_switch_loopback_route added in r264887: if old ifp fib differes from new one, that the caller is doing something wrong
  • Make ifa_*_loopback_route call single ifa_maintain_loopback_route().

Details

Provenance
melifaroAuthored on
Parents
rS287850: MFC 281310, 287567:
Branches
Unknown
Tags
Unknown