Re: [PATCH 2/3] vt: fix locking around vt_bind/vt_unbind

2014-12-12 Thread Peter Hurley
On 12/12/2014 11:38 AM, Imre Deak wrote: > Currently vt_bind and vt_unbind access at least the con_driver object > and registered_con_driver array without holding the console lock. Fix > this by locking around the whole function in each case. Reviewed-by: Peter Hurley -- To unsubscribe from thi

[PATCH 2/3] vt: fix locking around vt_bind/vt_unbind

2014-12-12 Thread Imre Deak
Currently vt_bind and vt_unbind access at least the con_driver object and registered_con_driver array without holding the console lock. Fix this by locking around the whole function in each case. Signed-off-by: Imre Deak --- drivers/tty/vt/vt.c | 11 +-- 1 file changed, 5 insertions(+),