diff options
| author | Divya Ojha <dojha@codeaurora.org> | 2017-03-30 10:25:15 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-16 23:12:58 -0700 |
| commit | c57fa14c6a606b5226fa33232a66d8a6546b0333 (patch) | |
| tree | 03a2c14f5403b90ea6b850e969b887652130e14f /net/unix/garbage.c | |
| parent | 9b3e8a81dcee1d1b92db6429f9abd83cc22c01f4 (diff) | |
drivers: qcom: ultrasound: check concurrent device open operations
Make opened device count atomic variable to avoid probable race
condition. Race condition leads to memory leak and list corruption.
Change-Id: I4da98f27d36f616bc8fa7b1a848c20cc7eea04e5
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
