android_kernel_xiaomi_sm8350/drivers/media/dvb
Francesco Lavra 691c9ae099 V4L/DVB: dvb-core: fix initialization of feeds list in demux filter
A DVB demultiplexer device can be used to set up either a PES filter or
a section filter. In the former case, the ts field of the feed union of
struct dmxdev_filter is used, in the latter case the sec field of the
same union is used.
The ts field is a struct list_head, and is currently initialized in the
open() method of the demux device. When for a given demuxer a section
filter is set up, the sec field is played with, thus if a PES filter
needs to be set up after that the ts field will be corrupted, causing a
kernel oops.
This fix moves the list head initialization to
dvb_dmxdev_pes_filter_set(), so that the ts field is properly
initialized every time a PES filter is set up.

Signed-off-by: Francesco Lavra <francescolavra@interfree.it>
Cc: stable <stable@kernel.org>
Reviewed-by: Andy Walls <awalls@radix.net>
Tested-by: hermann pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-08 10:47:17 -02:00
..
b2c2
bt8xx V4L/DVB (13523): dvb-bt8xx: fix compile warning 2009-12-05 18:42:15 -02:00
dm1105 V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
dvb-core V4L/DVB: dvb-core: fix initialization of feeds list in demux filter 2010-02-08 10:47:17 -02:00
dvb-usb V4L/DVB (13678): Add support for yet another DvbWorld, TeVii and Prof USB devices 2009-12-16 09:27:46 -02:00
firewire firewire: fix use of multiple AV/C devices, allow multiple FCP listeners 2009-12-29 19:58:16 +01:00
frontends Merge branch 'mantis' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2010-01-18 14:07:07 -08:00
mantis V4L/DVB (13851): Fix Input dependency for Mantis 2010-01-17 12:01:45 -02:00
pluto2
pt1 V4L/DVB (13522): valj5jf8007s/t: fix compile warnings 2009-12-05 18:42:15 -02:00
siano V4L/DVB (13683): sanio-ms: clean up init, exit and id_table 2009-12-16 09:27:53 -02:00
ttpci V4L/DVB (13617): ir: move input_register_device() to happen inside ir_input_register() 2009-12-16 00:18:45 -02:00
ttusb-budget
ttusb-dec
Kconfig V4L/DVB (13808): [Mantis/Hopper] Build update for Mantis/Hopper based cards 2010-01-17 11:55:45 -02:00
Makefile V4L/DVB (13808): [Mantis/Hopper] Build update for Mantis/Hopper based cards 2010-01-17 11:55:45 -02:00