commit | 550a8002e4340eaf3bc333e33b59427e9c20272d | [log] [tgz] |
---|---|---|
author | Tina Yang <tina.yang@oracle.com> | Thu Mar 11 13:50:03 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 16 21:16:58 2010 -0700 |
tree | 545fe5bccea8aa087233ccecd1dc18570d634d7e | |
parent | 97069788d6784ac92d050557a02f6e7bf4d1f53d [diff] |
RDS: Fix locking in rds_send_drop_to() It seems rds_send_drop_to() called __rds_rdma_send_complete(rs, rm, RDS_RDMA_CANCELED) with only rds_sock lock, but not rds_message lock. It raced with other threads that is attempting to modify the rds_message as well, such as from within rds_rdma_send_complete(). 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>