All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Andy Pfiffer <andyp@osdl.org>
Cc: linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org,
	Andrew Morton <akpm@digeo.com>
Subject: Re: Linux 2.5.74: BUG at mm/slab.c:1537
Date: Thu, 03 Jul 2003 22:13:43 +0200	[thread overview]
Message-ID: <3F048E77.8080402@colorfullife.com> (raw)

The problem is caused by changeset 1.1310.102.3, 2003/07/01 
02:01:51+10:00, yoshfuji@linux-ipv6.org:

http://linus.bkbits.net:8080/linux-2.5/diffs/net/ipv4/raw.c@3f005eebc5YsuvTFXhDo-QDhPEgh5Q?nav=index.html
(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.

--
    Manfred


             reply	other threads:[~2003-07-03 19:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-03 20:13 Manfred Spraul [this message]
2003-07-03 21:17 ` Linux 2.5.74: BUG at mm/slab.c:1537 Andrew Morton
2003-07-04  0:42   ` YOSHIFUJI Hideaki / 吉藤英明
  -- strict thread matches above, loose matches on Subject: below --
2003-07-03 15:17 Kronos
2003-07-02 21:36 Linux 2.5.74 Linus Torvalds
2003-07-02 23:45 ` Linux 2.5.74: BUG at mm/slab.c:1537 Andy Pfiffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F048E77.8080402@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=akpm@digeo.com \
    --cc=andyp@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.