RDS: Fix send locking issue
authorTina Yang <Tina.Yang@oracle.com>
Thu, 11 Mar 2010 13:50:00 +0000 (13:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <Tina.Yang@oracle.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c