Files
i2som-imx-linux/lib
wang, biao b6a526aa93 klist: del waiter from klist_remove_waiters before wakeup waitting process
commit ac5a2962b0 upstream.

There is a race between klist_remove and klist_release. klist_remove
uses a local var waiter saved on stack. When klist_release calls
wake_up_process(waiter->process) to wake up the waiter, waiter might run
immediately and reuse the stack. Then, klist_release calls
list_del(&waiter->list) to change previous
wait data and cause prior waiter thread corrupt.

The patch fixes it against kernel 3.9.

Signed-off-by: wang, biao <biao.wang@intel.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-07 12:49:13 -07:00
..
2011-10-29 21:20:22 +02:00
2012-03-23 16:58:38 -07:00
2012-10-13 05:38:38 +09:00
2012-03-23 16:58:38 -07:00
2013-03-04 06:06:40 +08:00
2012-01-31 23:19:47 +02:00
2011-12-08 19:52:43 -05:00