Files
linux/drivers
Alistair Strachan c1bceaea3e video: adf: use rb_erase in adf_obj_destroy.
Not calling rb_erase() can cause slab corruption, as the rb_first() call
after kfree() in adf_obj_destroy() can return the same node twice unless
it is erased.

This problem was reproduced by unloading a kernel module that used the
adf framework *after* a vsync event was registered. A crash would occur
in rb_first(). (Just loading and immediately unloading the module without
the vsync event worked correctly.)

Change-Id: I9fa7cb5d7519691e38a281439844aa193da13d1b
Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
Cc: Jonathan Hamilton <jonathan.hamilton@imgtec.com>
Cc: Greg Hackmann <ghackmann@google.com>
2014-04-23 16:36:53 +00:00
..
2013-05-17 14:31:05 -04:00
2013-07-01 13:38:50 -07:00
2013-11-07 13:28:41 -08:00
2013-07-01 13:40:37 -07:00
2013-05-20 13:38:14 -07:00
2013-05-15 10:58:22 -07:00
2014-04-17 20:02:30 -07:00
2013-06-26 23:08:22 -07:00
2014-04-16 18:22:52 -07:00
2013-06-05 08:54:16 -06:00
2013-06-11 02:46:21 -07:00
2013-07-01 13:40:19 -07:00