mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
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:
parent
889ad0384e
commit
cb6e5c1aba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147615
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user