]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: dvb: siano: free spinlock before schedule()
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 27 Jul 2010 18:42:40 +0000 (15:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:06 +0000 (23:43 -0300)
commit7cebfe9f3d7dd47dffedff31d0d4da56fab250e7
treed1b638662451edc34b83ac31b4d31acf65b2be1b
parent7f460b61015f380f5ae9441a46a30bf46acee566
V4L/DVB: dvb: siano: free spinlock before schedule()

Calling schedule() holding spinlock with disables irqs is improper. As
spinlock protects list coredev->buffers, it can be unlocked untill wakeup.
This bug was introduced in da63d8c8f0e77e3a2023a4ce4c3d47d0702104f3.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.c