> Couldn't the cxacru instance pointer to the proc_read function be set to NULL 
> before unloading?

The problem is reads that started (on some other CPU) before you started 
shutting things down
(eg: but setting this to null or whatever other method you like) and only 
finish after you have
finished shutting things down.  Or rather, never finish at all because the code 
they are executing
has been deleted from the kernel, causing an Oops.  This is not our problem: we 
can't do anything
about it: remove_proc_entry needs to be fixed so that it waits for all 
readers/writers of the proc
file to finish before returning, IMO.

Best wishes,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to