projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[linux-2.6-block.git]
/
net
/
rds
/
tcp_connect.c
diff --git
a/net/rds/tcp_connect.c
b/net/rds/tcp_connect.c
index 534c67aeb20f8a9babf3e133e18db5af14be4867..d999e707564579f0b81a8667946b348566b2695b 100644
(file)
--- a/
net/rds/tcp_connect.c
+++ b/
net/rds/tcp_connect.c
@@
-170,7
+170,7
@@
void rds_tcp_conn_path_shutdown(struct rds_conn_path *cp)
cp->cp_conn, tc, sock);
if (sock) {
- if (
test_bit(RDS_DESTROY_PENDING, &cp->cp_flags
))
+ if (
rds_destroy_pending(cp->cp_conn
))
rds_tcp_set_linger(sock);
sock->ops->shutdown(sock, RCV_SHUTDOWN | SEND_SHUTDOWN);
lock_sock(sock->sk);