android_kernel_xiaomi_sm8350/components/dsc
Ashish Kumar Dhanotiya 4b436bcbc3 qcacld-3.0: Do not block vdev trans if recovery in progress
Currently if SSR happens and at the same time if driver gets
del virtual interface which is a vdev transition, it bloks
this vdev transition and queues into dsc queue assuming that
it will execute once SSR completes.
There is an issue with above assumption,
del virtual interface comes with rtnl lock held which may lead
for other processes to misbehave which are waiting for rtnl lock.
in current case kernel is waiting for rtnl lock to send
shutdown to driver as part of the SSR and this rtnl lock is held
by del virtual interface which is waiting inside dsc queue for
SSR to complete, this leads to the deadlock.

To address above issue, do not insert the vdev transintion in
dsc queue in case of SSR and return the failure instead.

Change-Id: I19c897d68086d885f340d35c686badb70601076a
CRs-Fixed: 2730903
2020-07-17 17:23:16 -07:00
..
inc qcacld-3.0: Reject up-tree ops during transition 2019-03-25 12:39:31 -07:00
src qcacld-3.0: Do not block vdev trans if recovery in progress 2020-07-17 17:23:16 -07:00
test qcacld-3.0: Do not block vdev trans if recovery in progress 2020-07-17 17:23:16 -07:00