summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-02-14 16:26:17 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-27 14:16:09 +0100
commite3e389f931a14ddf43089c7db92fc5d74edf93a4 (patch)
treef86b1de14994ef7aab7962abc89babb75580d184 /include/media
parentmedia: rc: no need to announce major number (diff)
downloadlinux-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