soc: qcom: ipc_router_glink_xprt: Fix race condition during SSR
There is a race condition when a read is queued and a
subsystem restart occurs before the read can finish. The
read will call read_done on a freed handle. This fix
changes the ss_reset lock to a rwlock and extends the
critical sections in the read and write data functions.
CRs-Fixed: 969026
Change-Id: I7726e4bbea7447ad96df725b50e4eff1ec67607f
Signed-off-by:
Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment