diff options
author | Sean Young <sean@mess.org> | 2018-02-14 10:26:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-27 08:16:09 -0500 |
commit | e3e389f931a14ddf43089c7db92fc5d74edf93a4 (patch) | |
tree | f86b1de14994ef7aab7962abc89babb75580d184 /net/core/ethtool.c | |
parent | 5817b3d15e67f8a7280e06e0dfb2c7ede5897cd3 (diff) | |
download | linux-e3e389f931a14ddf43089c7db92fc5d74edf93a4.tar.bz2 |
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 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions