Messages in this thread | | | Subject | Re: NULL pointer dereference in sysfs_hash_and_remove() | From | Martin Josefsson <> | Date | Tue, 14 Oct 2003 20:50:45 +0200 |
| |
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] | |