Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177828345
D58452.1795376630.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
353 B
Referenced Files
None
Subscribers
None
D58452.1795376630.diff
View Options
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -5410,6 +5410,8 @@
iflib_unregister_vlan_handlers(ctx);
iflib_netmap_detach(ifp);
+ /* A task past the IFC_IN_DETACH check can still re-arm if_linktask. */
+ taskqueue_drain(ctx->ifc_tq, &ctx->ifc_admin_task);
ether_ifdetach(ifp);
CTX_LOCK(ctx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 7:43 PM (25 m, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41914421
Default Alt Text
D58452.1795376630.diff (353 B)
Attached To
Mode
D58452: iflib: drain the admin task before detaching the interface
Attached
Detach File
Event Timeline