2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/drivers/media/dvb/dvb-core
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
..
demux.h V4L/DVB (3413): Typos grab bag of the month 2006-03-08 12:04:24 -03:00
dmxdev.c V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
dmxdev.h V4L/DVB (3501): Dmxdev: use dvb_ringbuffer 2006-03-21 08:53:29 -08:00
dvb_ca_en50221.c V4L/DVB (3984): Fix CI interface on KNC1 DVBT and DVBC cards 2006-06-25 02:00:06 -03:00
dvb_ca_en50221.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dvb_demux.c V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
dvb_demux.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
dvb_filter.c V4L/DVB (3218): Whitespace cleanups 2006-01-09 15:25:34 -02:00
dvb_filter.h [PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 3 2005-12-12 08:57:44 -08:00
dvb_frontend.c V4L/DVB (5209): Kthread api conversion for dvb_frontend and av7110 fix 2007-02-21 13:35:20 -02:00
dvb_frontend.h V4L/DVB (4665): Add frontend structure callback for bus acquisition. 2006-10-03 15:13:46 -03:00
dvb_math.c V4L/DVB (3996): Make the table static 2006-06-25 02:00:11 -03:00
dvb_math.h V4L/DVB (3988): Add math routines required by DVB demods 2006-06-25 02:00:08 -03:00
dvb_net.c V4L/DVB (4973): Dvb-core: fix printk type warning 2006-12-27 14:19:15 -02:00
dvb_net.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dvb_ringbuffer.c [PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references 2006-10-02 07:57:23 -07:00
dvb_ringbuffer.h V4L/DVB (3484): Make dvb_ringbuffer compatible to dmxdev_buffer 2006-03-21 08:53:17 -08:00
dvbdev.c V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
dvbdev.h V4L/DVB (4391): Refactor dvb_detach calls into a single dvb_frontend_detach function. 2006-09-26 11:53:29 -03:00
Kconfig V4L/DVB (4732): Fix spelling error in Kconfig help text for DVB_CORE_ATTACH 2006-10-14 00:44:00 -03:00
Makefile V4L/DVB (4411): Fix minor errors in build files 2006-08-08 15:53:03 -03:00