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)
Sat, Apr 26, 7:07 AM
Unknown Object (File)
Mon, Apr 14, 11:20 AM
Unknown Object (File)
Mar 30 2025, 8:49 AM
Unknown Object (File)
Feb 28 2025, 9:50 AM
Unknown Object (File)
Feb 28 2025, 5:48 AM
Unknown Object (File)
Feb 28 2025, 3:20 AM
Unknown Object (File)
Feb 21 2025, 4:03 PM
Unknown Object (File)
Jan 29 2025, 1:56 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!