summaryrefslogtreecommitdiff
path: root/uapi/linux
diff options
context:
space:
mode:
authorJingxiang Ge <jge@codeaurora.org>2018-01-02 17:39:01 +0800
committersnandini <snandini@codeaurora.org>2018-01-05 02:17:10 -0800
commitf690c73add94728e023713711de8dbcccbf2680c (patch)
treeb00609f3c64210bb6b7773a9a90dc75a99787208 /uapi/linux
parent500655f033a30fbe8882a0e076f73c82796946dc (diff)
qcacld-3.0: Protect peer info when calling from rx thread
When calling ol_txrx_flush_rx_frames from rx thread, it is possible that rx thread is scheduled out, if peer detach happens from MC thread, after return back to rx thread, the peer may have been deleted which causes panic. Add ref_cnt to protect peer info and move delete peer_info_lock/ bufq_lock when finally delete peer rather than in the beginning of ol_txrx_peer_detach. Change-Id: I24a85de4551f93c379da59eb21a388e8eaf5f1d2 CRs-Fixed: 2164432
Diffstat (limited to 'uapi/linux')
0 files changed, 0 insertions, 0 deletions