lkml.org 
[lkml]   [2003]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: NULL pointer dereference in sysfs_hash_and_remove()
From
Date
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.095 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site