]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55508f860c2ef6c12132cdd70157afc3887d9fe0
treef4e7f27a411b9310c98c41e82285e211abcbfbd7
parentc134efab87ca732c0ebf73ca63e0bfd335686a67
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