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
F105708423: D28128.diff
Thu, Dec 19, 12:37 PM
Unknown Object (File)
Nov 16 2024, 11:52 AM
Unknown Object (File)
Oct 22 2024, 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
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