Currently if_purgeifaddrs() uses in6_purgeaddr() to remove all
ifaddrs for IPv6. The problem is that in6_purgeaddr() is a
low-level function used in the other parts of inet6 code to
handle exactly ifa removal.
Create a higher-level wrapper which handles unused prefix usecase
and use it in if_purgeifaddrs().
Details
Details
- Reviewers
donner - Group Reviewers
network - Commits
- rGf9e0752e3573: Create new in6_purgeifaddr() which purges bound ifa prefix if
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable