HomeFreeBSD

Remove redundant rtinit() calls from tuntap.

Description

Remove redundant rtinit() calls from tuntap.

Removed code iterates over if_addrhead and tries to remove
routes for each ifa.
This is exactly the thing that if_purgeaddrs() do, and
if_purgeaddr() is already called in the end.

Reviewed by: glebius
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D28106

Details

Provenance
melifaroAuthored on Jan 11 2021, 11:31 PM
Reviewer
glebius
Differential Revision
D28106: Remove redundant rtinit() calls from tuntap.
Parents
rGe58c8da0683d: Map IPv6 link-local prefix to the link-local ifa.
Branches
Unknown
Tags
Unknown