Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156472933
D55873.id173753.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
439 B
Referenced Files
None
Subscribers
None
D55873.id173753.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
@@ -447,14 +447,14 @@
CK_STAILQ_FOREACH(iter, &V_ifnet, if_link)
if (iter == ifp) {
CK_STAILQ_REMOVE(&V_ifnet, ifp, ifnet, if_link);
+#ifdef VIMAGE
+ curvnet->vnet_ifcnt--;
+#endif
if (!vmove)
ifp->if_flags |= IFF_DYING;
found = 1;
break;
}
-#ifdef VIMAGE
- curvnet->vnet_ifcnt--;
-#endif
IFNET_WUNLOCK();
return (found);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 10:13 PM (8 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29806213
Default Alt Text
D55873.id173753.diff (439 B)
Attached To
Mode
D55873: ifnet: Fix decreasing the vnet interface count
Attached
Detach File
Event Timeline
Log In to Comment