commit | 0181445b71175c562d8a99c7925db8acba206811 | [log] [tgz] |
---|---|---|
author | Jinwei Chen <jinweic@codeaurora.org> | Thu Jan 02 20:23:37 2020 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Sat Jan 04 22:12:21 2020 -0800 |
tree | 2a93aba8a04c07448f50b8c06efa89c4b4bbe4f5 | |
parent | 3ea157570e186c7e3fa439591e94ed6df33672c6 [diff] |
qcacmn: fix dp_tx_desc invalid accessing due to race condition crash scenario: a. dp_tx_vdev_detach will reset the vdev of TX desc to NULL by dp_tx_desc_flush. b. in the meantime, if TX completion is coming and when all TX desc is recycled, the pool will be freed if pool status is invalid before. c. invalid TX desc accessing will happen in (a). add TX desc pool lock protection in dp_tx_desc_flush. Change-Id: I65c570aa6a3044a478dbe51bbf396cf24612f675 CRs-Fixed: 2595755