[LinuxPPS] 24 Jan 16:01 - lockdep: fix kernel crash on module unload
linuxpps: Arjan van de Ven <>
webmaster at enneenne.com
Sun Jan 27 18:30:10 CET 2008
lockdep: fix kernel crash on module unload
Michael Wu noticed in his lkml post at
http://marc.info/?l=linux-kernel&m=119396182726091&w=2
that certain wireless drivers ended up having their name in module
memory, which would then crash the kernel on module unload.
The patch he proposed was a bit clumsy in that it increased the size of
a lockdep entry significantly; the patch below tries another approach,
it checks, on module teardown, if the name of a class is in module space
and then zaps the class. This is very similar to what we already do
with keys that are in module space.
Signed-off-by: Arjan van de Ven
Signed-off-by: Ingo Molnar
Acked-by: Peter Zijlstra
Signed-off-by: Linus Torvalds
kernel/lockdep.c
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=fabe874a48de45b137f99b4ed3641e0413f465ce
More information about the LinuxPPS
mailing list