commit | 9f6dd56bcdb22fa60282c5829289a862cf2ef1b4 | [log] [tgz] |
---|---|---|
author | Abdul Muqtadeer Ahmed <amuqtade@codeaurora.org> | Mon Oct 05 14:40:06 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Dec 30 01:27:23 2020 -0800 |
tree | 0851d707c601a87ea85cd71a03884be981c2b9b4 | |
parent | 4639cf1230c8996ce08df8f6b4854e647ee68ddd [diff] |
qcacld-3.0: Avoid use after free for SAP dev There is a race between regulatory callback from restart SAP and user space deleting the SAP dev, which can result into access of a free adapter. To avoid the above issue the SAP dev should be held before it gets delete and release after the operation on SAP dev gets complete. Change-Id: Idf7fc2adeb74ac62d2a63d8bc3ae0b1a0568693c CRs-Fixed: 2789448