1. 03 4月, 2015 8 次提交
  2. 24 3月, 2015 2 次提交
  3. 03 3月, 2015 2 次提交
  4. 26 2月, 2015 1 次提交
  5. 14 2月, 2015 2 次提交
  6. 27 1月, 2015 1 次提交
  7. 22 1月, 2015 1 次提交
    • H
      [media] vb2: fix vb2_thread_stop race conditions · 6cf11ee6
      Hans Verkuil 提交于
      The locking scheme inside the vb2 thread is unsafe when stopping the
      thread. In particular kthread_stop was called *after* internal data
      structures were cleaned up instead of doing that before. In addition,
      internal vb2 functions were called after threadio->stop was set to
      true and vb2_internal_streamoff was called. This is also not allowed.
      
      All this led to a variety of race conditions and kernel warnings and/or
      oopses.
      
      Fixed by moving the kthread_stop call up before the cleanup takes
      place, and by checking threadio->stop before calling internal vb2
      queuing operations.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: <stable@vger.kernel.org>      # for v3.16 and up
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      6cf11ee6
  8. 24 12月, 2014 1 次提交
  9. 23 12月, 2014 4 次提交
  10. 17 12月, 2014 1 次提交
  11. 04 12月, 2014 2 次提交
  12. 02 12月, 2014 2 次提交
  13. 25 11月, 2014 13 次提交