netdev
[Top] [All Lists]

Re: NULL pointer dereference in sysfs_hash_and_remove()

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: NULL pointer dereference in sysfs_hash_and_remove()
From: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
Date: Tue, 14 Oct 2003 20:50:45 +0200
Cc: Jeff Garzik <jgarzik@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20031013163200.43e5d1bf.shemminger@xxxxxxxx>
References: <1065220892.31749.39.camel@xxxxxxxxxxxxxx> <20031013163200.43e5d1bf.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2003-10-14 at 01:32, Stephen Hemminger wrote:
> On Sat, 04 Oct 2003 00:41:32 +0200
> Martin Josefsson <gandalf@xxxxxxxxxxxxxx> 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: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>