commit | 020fa6f7e89f8aafd343e25f33efca1ab7f6ee18 | [log] [tgz] |
---|---|---|
author | Sreelakshmi Gownipalli <sgownipa@codeaurora.org> | Tue Jan 23 13:11:41 2018 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Feb 05 14:21:05 2018 -0800 |
tree | 212ddbcbc2a6c34bfa683d43555bf988f4cfdac1 | |
parent | d81364676b29491e2919142b19a803d2dc40dff2 [diff] |
diag: Protect the decrement of number of diag clients In diagchar_open() protect the decrement of number of diag clients so that there will be no race conditions while reading the value from other functions. Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3 Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>