Page MenuHomeFreeBSD

net: move interface removal notification up in if_detach_internal
ClosedPublic

Authored by royger on Aug 12 2014, 4:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 12:57 AM
Unknown Object (File)
Thu, Nov 6, 7:55 PM
Unknown Object (File)
Sun, Nov 2, 2:56 AM
Unknown Object (File)
Fri, Oct 24, 1:59 AM
Unknown Object (File)
Tue, Oct 21, 10:52 AM
Unknown Object (File)
Oct 12 2025, 3:53 PM
Unknown Object (File)
Oct 12 2025, 9:22 AM
Unknown Object (File)
Oct 12 2025, 5:45 AM

Details

Reviewers
melifaro
Summary

This is needed to prevent having interfaces with ifp->if_addr == NULL
on bridge interfaces. Moving the notification event handlers up makes
sure the interfaces are removed before doing any more cleanup.

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

royger retitled this revision from to net: move interface removal notification up in if_detach_internal.
royger updated this object.
royger edited the test plan for this revision. (Show Details)
royger added a reviewer: melifaro.
melifaro edited edge metadata.

Seems to be OK

This revision is now accepted and ready to land.Aug 15 2014, 1:33 PM

Thanks, committed as r270041

I'm hitting a panic with stable/10. Can you please MFC this patch form the HEAD to stable/10?

In D598#321169, @royger wrote:

Done, MFC'ed as r333106.

I saw it. Thanks!