OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee042ec
)
net/rds: call rds_conn_drop instead of open code it at rds_connect_complete
author
Herton R. Krzesinski
<herton@redhat.com>
Wed, 1 Oct 2014 21:49:52 +0000
(18:49 -0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 3 Oct 2014 19:51:59 +0000
(12:51 -0700)
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/threads.c
patch
|
blob
|
history
diff --git
a/net/rds/threads.c
b/net/rds/threads.c
index
65eaefc
..
dc2402e
100644
(file)
--- 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;
}