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
..
2007-12-18 18:05:58 +01:00
2008-01-11 12:26:47 -05:00
2007-12-18 18:05:58 +01:00
2006-01-03 11:35:26 +01: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-10-22 19:40:02 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:36 -07:00
2007-11-14 18:45:37 -08:00
2007-10-18 15:12:41 -07:00
2007-05-09 12:30:49 -07:00
2007-10-19 11:53:44 -07:00
2007-10-19 11:53:44 -07:00
2007-10-18 14:37:28 -07:00
2007-10-18 14:37:24 -07:00
2007-10-18 14:37:26 -07:00
2007-11-29 09:24:55 -08:00
2006-05-15 11:20:55 -07:00
2007-12-05 09:21:18 -08:00
2007-11-09 16:13:08 -08:00
2008-01-08 16:21:39 -08:00
2008-01-21 19:39:41 -08:00
2007-10-18 14:37:26 -07:00
2007-11-29 09:24:54 -08:00
2006-12-07 08:39:36 -08:00
2007-12-06 09:41:12 -08:00
2007-10-17 08:42:55 -07:00
2008-01-08 16:10:36 -08:00
2007-07-16 09:05:50 -07:00
2008-01-17 15:38:59 -08:00
2007-10-16 09:43:10 -07:00
2007-10-17 08:42:54 -07:00
2007-07-31 15:39:42 -07:00
2006-12-04 02:00:22 -05:00
2006-12-07 08:39:43 -08:00
2007-10-11 22:11:11 +02:00
2008-01-24 08:01:09 -08:00
2007-11-14 18:45:40 -08:00
2007-11-14 18:45:40 -08:00
2008-01-14 08:52:22 -08:00
2007-02-14 08:09:54 -08:00
2006-07-03 15:27:01 -07:00
2007-10-11 22:11:12 +02:00
2006-07-03 15:27:04 -07:00
2007-10-19 11:53:34 -07:00
2007-10-19 11:53:37 -07:00
2007-10-19 11:53:39 -07:00
2007-12-20 15:01:17 +01:00
2007-12-22 23:09:05 -08:00
2007-11-14 18:45:43 -08:00
2007-10-19 11:53:40 -07:00
2007-10-19 11:53:40 -07:00
2007-12-29 01:19:49 -08:00
2007-10-24 18:23:50 +02:00
2008-01-02 13:48:27 -08:00
2008-01-22 09:17:48 -08:00
2007-10-17 08:42:53 -07:00
2007-10-18 14:37:24 -07:00
2007-11-14 18:45:39 -08:00
2007-07-16 09:05:49 -07:00
2007-10-19 11:53:43 -07:00
2006-07-03 15:27:01 -07:00
2007-07-17 10:23:02 -07:00
2007-10-19 11:53:43 -07:00
2006-07-03 15:27:01 -07:00
2007-12-18 15:21:13 +01:00
2007-12-30 17:24:35 +01:00
2007-12-18 15:21:13 +01:00
2007-10-24 18:23:51 +02:00
2007-12-20 15:01:17 +01:00
2007-11-28 15:52:56 +01:00
2008-01-22 11:24:58 +01:00
2007-07-16 09:05:50 -07:00
2007-11-12 16:05:23 -08:00
2007-10-10 16:49:18 -07:00
2007-10-19 11:53:43 -07:00
2007-07-19 10:04:49 -07:00
2006-10-04 07:55:30 -07:00
2006-07-03 15:27:02 -07:00
2007-07-16 09:05:41 -07:00
2007-10-30 21:29:56 -07:00
2007-11-17 16:27:00 +01:00
2007-12-17 19:28:17 -08:00
2007-12-18 15:21:13 +01:00
2007-11-14 18:45:44 -08:00
2007-10-18 14:37:24 -07:00
2008-01-21 19:39:41 -08:00
2007-10-18 14:37:28 -07:00
2007-05-08 11:15:07 -07:00
2007-09-19 11:24:18 -07:00
2007-11-26 21:21:49 +01:00
2007-11-29 09:24:53 -08:00
2007-09-19 11:24:17 -07:00
2007-05-09 08:57:56 +02:00
2008-01-16 09:51:58 +01:00