RDS: Fix send locking issue
authorTina Yang <[email protected]>
Thu, 11 Mar 2010 13:50:00 +0000 (13:50 +0000)
committerDavid S. Miller <[email protected]>
Wed, 17 Mar 2010 04:16:55 +0000 (21:16 -0700)
commit048c15e641289d902f7ef9f1241068d8045e210c
treef4e7f27a411b9310c98c41e82285e211abcbfbd7
parent2e7b3b994529d4760231a45a6b88950187bda877
RDS: Fix send locking issue

Fix a deadlock between rds_rdma_send_complete() and
rds_send_remove_from_sock() when rds socket lock and
rds message lock are acquired out-of-order.

Signed-off-by: Tina Yang <[email protected]>
Signed-off-by: Andy Grover <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/send.c