Change the panic in trash_ctor into just a printf for now. Once the reports

of panics in trash_ctor relating to mbufs have been examined and a fix
found, this will be turned back into a panic.

Approved by: re (rwatson)
This commit is contained in:
Mike Silbersack 2005-06-26 23:44:07 +00:00
parent 889ad0384e
commit cb6e5c1aba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147615

View File

@ -68,9 +68,11 @@ trash_ctor(void *mem, int size, void *arg, int flags)
cnt = size / sizeof(uma_junk);
for (p = mem; cnt > 0; cnt--, p++)
if (*p != uma_junk)
panic("Memory modified after free %p(%d) val=%x @ %p\n",
if (*p != uma_junk) {
printf("Memory modified after free %p(%d) val=%x @ %p\n",
mem, size, *p, p);
return (0);
}
return (0);
}