]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rds: don't let RDS shutdown a connection while senders are present
authorChris Mason <chris.mason@oracle.com>
Tue, 11 May 2010 22:11:11 +0000 (15:11 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:15:09 +0000 (18:15 -0700)
commit7e3f2952eeb1a0fe2aa9882fd1705a88f9d89b35
tree903d89d0d1184bd1f33df2b5036615d1c40cfb06
parent38a4e5e61344490f18241333d7b1b368a3a38748
rds: don't let RDS shutdown a connection while senders are present

This is the first in a long line of patches that tries to fix races
between RDS connection shutdown and RDS traffic.

Here we are maintaining a count of active senders to make sure
the connection doesn't go away while they are using it.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/connection.c
net/rds/ib_recv.c
net/rds/message.c
net/rds/rds.h
net/rds/send.c