From: Tina Yang Date: Thu, 11 Mar 2010 13:50:03 +0000 (+0000) Subject: RDS: Fix locking in rds_send_drop_to() X-Git-Tag: v2.6.35-rc1~473^2~769 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550a8002e4340eaf3bc333e33b59427e9c20272d;p=pandora-kernel.git 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 Signed-off-by: Andy Grover Signed-off-by: David S. Miller --- Reading git-diff-tree failed