Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • media
  • dvb
  • dvb-core
  • dmxdev.c
Find file BlameHistoryPermalink
  • Francesco Lavra's avatar
    V4L/DVB: dvb-core: fix initialization of feeds list in demux filter · 691c9ae0
    Francesco Lavra authored Feb 07, 2010
    
    
    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: default avatarFrancesco Lavra <francescolavra@interfree.it>
    Cc: stable <stable@kernel.org>
    Reviewed-by: default avatarAndy Walls <awalls@radix.net>
    Tested-by: default avatarhermann pitton <hermann-pitton@arcor.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    691c9ae0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7