diff options
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r-- | net/rds/threads.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c index 65eaefcab241..dc2402e871fd 100644 --- a/net/rds/threads.c +++ b/net/rds/threads.c | |||
@@ -78,8 +78,7 @@ void rds_connect_complete(struct rds_connection *conn) | |||
78 | "current state is %d\n", | 78 | "current state is %d\n", |
79 | __func__, | 79 | __func__, |
80 | atomic_read(&conn->c_state)); | 80 | atomic_read(&conn->c_state)); |
81 | atomic_set(&conn->c_state, RDS_CONN_ERROR); | 81 | rds_conn_drop(conn); |
82 | queue_work(rds_wq, &conn->c_down_w); | ||
83 | return; | 82 | return; |
84 | } | 83 | } |
85 | 84 | ||