summaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorTina Yang <tina.yang@oracle.com>2010-03-11 14:50:03 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-17 05:16:58 +0100
commit550a8002e4340eaf3bc333e33b59427e9c20272d (patch)
tree545fe5bccea8aa087233ccecd1dc18570d634d7e /net/rds/af_rds.c
parentRDS: Turn down alarming reconnect messages (diff)
downloadlinux-550a8002e4340eaf3bc333e33b59427e9c20272d.tar.xz
linux-550a8002e4340eaf3bc333e33b59427e9c20272d.zip
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>
Diffstat (limited to 'net/rds/af_rds.c')
0 files changed, 0 insertions, 0 deletions