diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-10 07:21:25 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-10 07:21:25 -0200 |
commit | 941a74c8fd1971768d96e37511be63853fddf0a0 (patch) | |
tree | f03ec3ae3d43810887617e4d5f3d09edee2f1a45 /v4l/scripts | |
parent | b57241d11bd12a147c53051dcd943aef49f905f2 (diff) | |
download | mediapointer-dvb-s2-941a74c8fd1971768d96e37511be63853fddf0a0.tar.gz mediapointer-dvb-s2-941a74c8fd1971768d96e37511be63853fddf0a0.tar.bz2 |
Core: fix several locking related problems
From: Simon Arlott <simon@fire.lp0.eu>
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>
Diffstat (limited to 'v4l/scripts')
0 files changed, 0 insertions, 0 deletions