commit | 5a544df6ac7f149b7d34a797e801b31794c20900 | [log] [tgz] |
---|---|---|
author | Bapiraju Alla <balla@codeaurora.org> | Tue Feb 02 11:39:08 2021 +0530 |
committer | snandini <snandini@codeaurora.org> | Fri Feb 12 13:12:04 2021 -0800 |
tree | d1a35ba46e342bd7d3cf7b5260c854667b8fae0f | |
parent | 02c7154d7c21f2156a4246149ea0d02ef85fd73a [diff] |
qcacld-3.0: Make net_dev_hold_ref_count as atomic Currently the reference count variable used to detect the net device reference leaks is not atomic. Because of this, the reference count updation may not be reliable in multi thread scenario. To address this, make the net_dev_hold_ref_count increment and decrement as atomic. Change-Id: Ifa87177164e87880d0c6d71fb40ca03a3919519e CRs-Fixed: 2868029