]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dvb: core: fix race condition in FE_READ_STATUS ioctl
authorPeter Beutner <p.beutner@gmx.net>
Fri, 8 Jul 2005 00:57:36 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:53 +0000 (18:23 -0700)
commit6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990
tree472bad3348464fa74910d6ac8978b6a63cb01a35
parent25a26ec3b60b29300a652d7d81a69b6bc08b35b5
[PATCH] dvb: core: fix race condition in FE_READ_STATUS ioctl

Fix a race condition where an application which issued a FE_READ_STATUS ioctl
directly after FE_SET_FRONTEND would see an old status, i.e.  FE_READ_STATUS
would be executed before the frontend thread has even seen the tungin request
from FE_SET_FRONTEND.

Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/dvb-core/dvb_frontend.c