Re: tty_ldisc_try_get(): BUG kmalloc-8: Poison overwritten

From: Pekka Enberg
Date: Sun Jun 14 2009 - 04:30:34 EST


On Sun, Jun 14, 2009 at 11:20 AM, Pekka Enberg<penberg@xxxxxxxxxxxxxx> wrote:
> You could add something like
>
>  WARN_ON(ld->refcount == 0x6b)
>
> to tty_ldisc_deref() to see if that triggers.

Make that

WARN_ON(ld->refcount == (int)0xa56b6b6b)

instead.
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/