]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/rds/rds.h
rds: don't let RDS shutdown a connection while senders are present
[net-next-2.6.git] / net / rds / rds.h
index 241a0859d16e5505e02d7d1fe276e43500e345d9..4ab3d1aa0237f2ba53f3af7fb5c69780332da51a 100644 (file)
@@ -93,6 +93,7 @@ struct rds_connection {
 
        spinlock_t              c_send_lock;    /* protect send ring */
        atomic_t                c_send_generation;
+       atomic_t                c_senders;
        struct rds_message      *c_xmit_rm;
        unsigned long           c_xmit_sg;
        unsigned int            c_xmit_hdr_off;