HomeFreeBSD

routed: Fix use after free.

Description

routed: Fix use after free.

For the multihomed case, ifp be used after being freed. NULL the value
after freeing it and avoid getting into the branch without reassigning
a new value.

CID: 272671
Obtained from: NetBSD
MFC after: 2 weeks

Details

Provenance
pfgAuthored on
Parents
rS299770: Fix up r299764
Branches
Unknown
Tags
Unknown