Page MenuHomeFreeBSD

Create new in6_purgeifaddr() which purges bound ifa prefix if it gets unused.
ClosedPublic

Authored by melifaro on Jan 13 2021, 12:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 6:58 PM
Unknown Object (File)
Oct 3 2024, 3:00 PM
Unknown Object (File)
Oct 3 2024, 12:18 PM
Unknown Object (File)
Oct 1 2024, 1:02 PM
Unknown Object (File)
Sep 28 2024, 12:33 AM
Unknown Object (File)
Sep 8 2024, 1:25 AM
Unknown Object (File)
Sep 7 2024, 8:18 AM
Unknown Object (File)
Sep 7 2024, 6:06 AM
Subscribers

Details

Summary

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().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable