diff options
author | Herton R. Krzesinski <herton@redhat.com> | 2014-10-02 01:49:52 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-03 23:51:59 +0400 |
commit | 310886dd5fa3606d9325b10caf7c8ba5e9f9ab03 (patch) | |
tree | b0349ab97270bfece15779c1adb0d612d2f7fa57 /net/rds | |
parent | ee042ec88022249b848306dd6e87ffd2fd88a839 (diff) | |
download | linux-310886dd5fa3606d9325b10caf7c8ba5e9f9ab03.tar.xz |
net/rds: call rds_conn_drop instead of open code it at rds_connect_complete
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-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) "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; } |