[GIT FIXES FOR v4.12] cec: fix race condition between poll and CEC_RECEIVE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mauro,

This bug fix should go to 4.12 (and has a CC to stable to get it in for
4.10 and 4.11 as well).

It fixes a race condition that can cause an application to loop forever, which
is how we (Cisco) discovered it.

Regards,

	Hans

The following changes since commit 47b586f66a9e78c91586b9c363603a52c75840d7:

  [media] pvrusb2: remove redundant check on cnt > 8 (2017-06-07 13:52:41 -0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git cec-race-fix

for you to fetch changes up to bfafcd0557a8d963b05d4974a077e6a8306b164a:

  cec: race fix: don't return -ENONET in cec_receive() (2017-06-08 09:21:04 +0200)

----------------------------------------------------------------
Hans Verkuil (1):
      cec: race fix: don't return -ENONET in cec_receive()

 drivers/media/cec/cec-api.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux