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 |
||
---|---|---|
.. | ||
inc | ||
src |