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)
Sun, Jun 8, 3:46 PM
Unknown Object (File)
Sun, Jun 8, 3:17 PM
Unknown Object (File)
Sat, Jun 7, 3:50 PM
Unknown Object (File)
Sat, Jun 7, 3:15 PM
Unknown Object (File)
May 15 2025, 9:19 PM
Unknown Object (File)
Apr 26 2025, 7:07 AM
Unknown Object (File)
Apr 14 2025, 11:20 AM
Unknown Object (File)
Mar 30 2025, 8:49 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!