diff options
author | Sean Young <sean@mess.org> | 2018-02-14 16:26:17 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-27 14:16:09 +0100 |
commit | e3e389f931a14ddf43089c7db92fc5d74edf93a4 (patch) | |
tree | f86b1de14994ef7aab7962abc89babb75580d184 /include/media | |
parent | media: rc: no need to announce major number (diff) | |
download | linux-e3e389f931a14ddf43089c7db92fc5d74edf93a4.tar.xz linux-e3e389f931a14ddf43089c7db92fc5d74edf93a4.zip |
media: rc: fix race condition in ir_raw_event_store_edge() handling
There is a possible race condition between the IR timeout being generated
from the timer, and new IR arriving. This could result in the timeout
being added to the kfifo after new IR arrives. On top of that, there is
concurrent write access to the kfifo from ir_raw_event_store_edge() and
the timer.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions