Signed-off-by: Herton R. Krzesinski <[email protected]>
---
 net/rds/threads.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/rds/threads.c b/net/rds/threads.c
index 65eaefc..dc2402e 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -78,8 +78,7 @@ void rds_connect_complete(struct rds_connection *conn)
                                "current state is %d\n",
                                __func__,
                                atomic_read(&conn->c_state));
-               atomic_set(&conn->c_state, RDS_CONN_ERROR);
-               queue_work(rds_wq, &conn->c_down_w);
+               rds_conn_drop(conn);
                return;
        }
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to