android_kernel_xiaomi_sm8350/core/hdd
Abhishek Singh 0d0568a647 qcacld-3.0: Purge all active and pending cmds during SSR
During Vdev start/restart LimProcessDefdMsgs is set to false. If
start/restart timeouts, it will initiate SSR but will not send
response to LIM and thus gLimProcessDefdMsgs will not set to true.
Thus no other commands will be processed in LIM. If any command is
queued in serialization during this time it will timeout.

This will eventually lead to timeout of the vdev destroy command as
it won't get processed until the command in active queue timeout and
it leads to peer and vdev refcount leaks.

To fix it purge all active and pending cmds during SSR, so that vdev
destroy cmd can be processed immediately and can release vdev/peer
ref count.

Change-Id: Id5c15ccb4c27dabfdd4a9e0d7ee9b765130e03bf
CRs-Fixed: 2354899
2018-11-23 05:12:31 -08:00
..
inc qcacld-3.0: Relocate HDD DP ini items 2018-11-23 03:38:27 -08:00
src qcacld-3.0: Purge all active and pending cmds during SSR 2018-11-23 05:12:31 -08:00