Files
linux/drivers
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 <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Andy Walls <[email protected]>
Tested-by: hermann pitton <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2010-02-08 10:47:17 -02:00
..
…
…
2010-02-07 10:26:01 -08:00
…
…
…
…
…
…
2010-01-26 22:22:27 -05:00
…
…
2010-01-29 21:03:09 +01:00
…
…
2010-01-20 01:23:27 -05:00
…
…
…
2010-02-02 18:11:21 -08:00
…
…
…
…
…
…
…
…
2010-01-13 10:01:35 +00:00
…
…