Page MenuHomeFreeBSD

ip6_mroute: Handle interface detach events
ClosedPublic

Authored by markj on Feb 10 2026, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 17, 12:47 AM
Unknown Object (File)
Thu, Aug 13, 9:16 PM
Unknown Object (File)
Thu, Aug 13, 12:55 AM
Unknown Object (File)
Tue, Aug 11, 11:50 PM
Unknown Object (File)
Tue, Aug 11, 11:40 PM
Unknown Object (File)
Sun, Aug 9, 7:56 AM
Unknown Object (File)
Fri, Aug 7, 10:22 AM
Unknown Object (File)
Fri, Aug 7, 10:22 AM

Details

Summary

When an interface goes away we need to make sure the v6 multicast
routing tables don't carry any dangling references to the ifnet. The v4
code handles this already. Copy the approach there and use an
eventhandler to purge the corresponding MIF, if one exists, and further
go through all routes in the FIB and remove references to the interface.

Diff Detail

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