Page MenuHomeFreeBSD

D41770.diff
No OneTemporary

D41770.diff

diff --git a/sys/net/if.c b/sys/net/if.c
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1128,6 +1128,8 @@
shutdown = VNET_IS_SHUTTING_DOWN(ifp->if_vnet);
#endif
+ sx_assert(&ifnet_detach_sxlock, SX_XLOCKED);
+
/*
* At this point we know the interface still was on the ifnet list
* and we removed it so we are in a stable state.

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 1:41 PM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14561219
Default Alt Text
D41770.diff (337 B)

Event Timeline