Re: Linux 2.5.74: BUG at mm/slab.c:1537

From: Manfred Spraul (
Date: Thu Jul 03 2003 - 15:13:43 EST

The problem is caused by changeset 1.1310.102.3, 2003/07/01
(Subject: [NET] fixed /proc/net/raw{,6} seq_file support)

raw_iter_state is just an integer. Without that patch, the integer is
stored directly in the seq->private pointer (note the & in the define of
raw_seq_private, around line 690 of net/ipv4/raw.c). The patch converts
part of the code to an pointer to an integer, but other parts still
consider seq->private as an integer. The oops is actually a BUG
statement in kmalloc: it complains (if CONFIG_DEBUG_SLAB is enabled)
about the invalid pointer.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:20 EST