commit | 51abf45c23872df0a43dbe849eb4439ebda6145f | [log] [tgz] |
---|---|---|
author | Salah Triki <salah.triki@acm.org> | Sun Oct 04 02:49:48 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 09:30:14 2015 +0100 |
tree | b89016372e4bbc02e242fbe238181702fc29a2ca | |
parent | 6d99d6a3cffdcbf1705ebd41b528fc31feaa7966 [diff] |
staging: dgnc: take a lock when storing value in dgnc_poll_tick Reads of dgnc_poll_tick are protected by dgnc_poll_lock spinlock, but the write to dgnc_poll_tick is not. It could theoretically race. Signed-off-by: Salah Triki <salah.triki@acm.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>