All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Josefsson <gandalf@wlug.westbo.se>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: Jeff Garzik <jgarzik@pobox.com>,
	linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: NULL pointer dereference in sysfs_hash_and_remove()
Date: Tue, 14 Oct 2003 20:50:45 +0200	[thread overview]
Message-ID: <1066157445.740.2.camel@tux.rsn.bth.se> (raw)
In-Reply-To: <20031013163200.43e5d1bf.shemminger@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

On Tue, 2003-10-14 at 01:32, Stephen Hemminger wrote:
> On Sat, 04 Oct 2003 00:41:32 +0200
> Martin Josefsson <gandalf@wlug.westbo.se> wrote:
> 
> > Hi
> > 
> > I compiled 2.6.0-test6 and ran it on a laptop with cardbus.
> > I have an Xircom NIC and if I remove it during operation I get the bug
> > below.
> > 
> > I have yenta_socket and xircom_cb loaded as modules.
> 
> 
> The driver was setting the statistics pointer after registration had occurred,
> so on unregister the network code was removing a non-existent sysfs directory.
> 
> Try this please.

I've applied this patch and 
"[PATCH] sysfs -- don't crash if removing non-existant attribute group"
and now it works great.

Thanks.

-- 
/Martin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2003-10-14 18:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-03 22:41 NULL pointer dereference in sysfs_hash_and_remove() Martin Josefsson
2003-10-06  6:01 ` Maneesh Soni
2003-10-13 23:32 ` Stephen Hemminger
2003-10-14 17:32   ` Jeff Garzik
2003-10-14 18:50   ` Martin Josefsson [this message]

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=1066157445.740.2.camel@tux.rsn.bth.se \
    --to=gandalf@wlug.westbo.se \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.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.