kernel-fxtec-pro1x/drivers/media
Marko Ristola 9c81496a88 [media] Mantis: append tasklet maintenance for DVB stream delivery
After dvb-core has called mantis-fe->stop_feed(dvbdmxfeed)
the last time (count to zero), no data should ever be copied
with dvb_dmx_swfilter() by a tasklet: the target structure
might be in an unusable state. Caller of mantis_fe->stop_feed()
assumes that feeding is stopped after stop_feed() has been
called, ie. dvb_dmx_swfilter() isn't running, and won't be called.

There is a risk that dvb_dmx_swfilter() references freed resources
(memory or spinlocks or ???) causing instabilities. Thus
tasklet_disable(&mantis->tasklet) must be called inside of
mantis-fe->stop_feed(dvbdmxfeed) when necessary.

Signed-off-by: Marko Ristola <marko.ristola@kolumbus.fi>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:16:48 -02:00
..
common [media] drivers/media: Removed unnecessary KERN_<level>s from dprintk uses 2010-12-29 08:16:29 -02:00
dvb [media] Mantis: append tasklet maintenance for DVB stream delivery 2010-12-29 08:16:48 -02:00
radio [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
rc [media] rc-core: convert winbond-cir 2010-12-29 08:16:38 -02:00
video [media] i2c: Remove obsolete cleanup for clientdata 2010-12-29 08:16:47 -02:00
Kconfig [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00