⬢ DragonFlyBSD Kernel Audit
DF-3271 / fix.diff
← back to finding ↓ download raw
--- a/sys/netgraph7/netgraph/ng_base.c
+++ b/sys/netgraph7/netgraph/ng_base.c
@@ -993,7 +993,7 @@
 		}
 	}
 
-	hashdestroy(ng_ID_hash, M_NETGRAPH_NODE, ng_name_hmask);
+	hashdestroy(ng_ID_hash, M_NETGRAPH_NODE, ng_ID_hmask);
 	ng_ID_hash = new;
 	ng_ID_hmask = hmask;
 }