Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102177281
D41770.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
337 B
Referenced Files
None
Subscribers
None
D41770.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D41770: Assert that ifnet_detach_sxlock is held where needed.
Attached
Detach File
Event Timeline
Log In to Comment