HomeFreeBSD

rtrequest1_fib: we need to always bump the ifaddr refcount when we take a…

Description

rtrequest1_fib: we need to always bump the ifaddr refcount when we take a reference from
an rtentry. r334118 introduced a case when this was not done.

While we're here make the intent more obvious by moving the refcount
bump down to when we know we'll actually need it.

Reported by: markj

Details

Provenance
mmacyAuthored on
Parents
rS334221: rc.subr: Support loading environmental variables from a file
Branches
Unknown
Tags
Unknown