Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148302550
D5802.id15029.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D5802.id15029.diff
View Options
Index: head/sys/kern/subr_hash.c
===================================================================
--- head/sys/kern/subr_hash.c
+++ head/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
Wed, Mar 18, 1:48 AM (8 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29867998
Default Alt Text
D5802.id15029.diff (470 B)
Attached To
Mode
D5802: Make the KASSERT in hash destroy more informative
Attached
Detach File
Event Timeline
Log In to Comment