]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the mbuf, mbuf cluster, and mbuf packet allocation routines so that
authorsilby <silby@FreeBSD.org>
Thu, 23 Jun 2005 04:33:39 +0000 (04:33 +0000)
committersilby <silby@FreeBSD.org>
Thu, 23 Jun 2005 04:33:39 +0000 (04:33 +0000)
commitcbb0f23931a7bdcc93f3eb371c7c91961adf2175
treea03ab0d579f145d98bddea03712a580f4c9d5d17
parent6b329c9eb729b828966610ad0ea291983ec749ce
Change the mbuf, mbuf cluster, and mbuf packet allocation routines so that
the UMA "trash" allocator is used - this ensures that any writes to a freed
mbuf should provoke a panic.

Only enabled under INVARIANTS, of course.

Approved by: re (scottl)
sys/kern/kern_mbuf.c