Arjan van de Ven fabe874a48 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 <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-24 08:01:09 -08:00
..
2008-01-07 14:55:37 -08:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2007-12-05 09:21:18 -08:00
2008-01-21 19:39:41 -08:00
2007-10-18 14:37:26 -07:00
2006-12-07 08:39:36 -08:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2006-12-04 02:00:22 -05:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-12-20 15:01:17 +01:00
2007-11-14 18:45:43 -08:00
2008-01-22 09:17:48 -08:00
2007-10-18 14:37:24 -07:00
2007-07-16 09:05:49 -07:00
2007-12-30 17:24:35 +01:00
2007-07-16 09:05:50 -07:00
2007-12-17 19:28:17 -08:00
2007-10-18 14:37:24 -07:00
2008-01-21 19:39:41 -08:00
2007-05-09 08:57:56 +02:00