Page MenuHomeFreeBSD

net: move interface removal notification up in if_detach_internal

Authored by royger on Aug 12 2014, 4:08 PM.



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

rS FreeBSD src repository - subversion
No Linters Available
No Unit 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!