Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156422034
D5802.id14796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
455 B
Referenced Files
None
Subscribers
None
D5802.id14796.diff
View Options
Index: sys/kern/subr_hash.c
===================================================================
--- sys/kern/subr_hash.c
+++ sys/kern/subr_hash.c
@@ -93,7 +93,8 @@
hashtbl = vhashtbl;
for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++)
- KASSERT(LIST_EMPTY(hp), ("%s: hash not empty", __func__));
+ KASSERT(LIST_EMPTY(hp), ("%s: hashtbl %p not empty "
+ "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc));
free(hashtbl, type);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 2:26 PM (13 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33043564
Default Alt Text
D5802.id14796.diff (455 B)
Attached To
Mode
D5802: Make the KASSERT in hash destroy more informative
Attached
Detach File
Event Timeline
Log In to Comment