2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media
Simon Arlott c278850206 V4L/DVB (5400): Core: fix several locking related problems
Fix several instances of dvb-core functions using mutex_lock_interruptible
and returning -ERESTARTSYS where the calling function will either never
retry or never check the return value.
These cause a race condition with dvb_dmxdev_filter_free and
dvb_dvr_release, both of which are filesystem release functions whose
return value is ignored and will never be retried.  When this happens it
becomes impossible to open dvr0 again (-EBUSY) since it has not been
released properly.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-By: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-27 08:45:54 -03:00
..
common V4L/DVB (5332): Ir_rc5_timer_end decoder lockup fix 2007-03-27 08:45:53 -03:00
dvb V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
radio V4L/DVB (5390): Radio: Fix error in Kbuild file 2007-03-27 08:45:53 -03:00
video [PATCH] misc NULL noise 2007-03-14 15:27:49 -07:00
Kconfig V4L/DVB (5196): VIDEO_BUF depends on PCI 2007-02-21 13:35:16 -02:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00