projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/net/rds/threads.c
b/net/rds/threads.c
index 65eaefcab241f105fdcaeac11be3d81328f8b0cc..dc2402e871fda52d10b0a67089c7c6e13832f72b 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;
}