Page MenuHomeFreeBSD

D41770.id.diff
No OneTemporary

D41770.id.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
Wed, Apr 22, 11:21 AM (16 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31973619
Default Alt Text
D41770.id.diff (337 B)

Event Timeline