commit | 768567ac97ae6bf7fc85ceac3ea7623a57f41325 | [log] [tgz] |
---|---|---|
author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | Thu Aug 11 11:53:21 2011 -0600 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:15:15 2011 -0700 |
tree | e066df99475cf1cf74e34296abcc0bbe571a920d | |
parent | 7df4378df21c1a95c95f74081a0501c3cd5e87e1 [diff] |
msm: rpc: Reorganize the usage of spinlocks in RPC Router reader thread A race condition exists between a driver closing an RPC endpoint and RPC Router routing an incoming RPC message to that endpoint. So hold the appropriate locks to avoid both the events happening simultaneously. CRs-Fixed: 301630 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>