aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/tcp_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/tcp_connect.c')
-rw-r--r--net/rds/tcp_connect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rds/tcp_connect.c b/net/rds/tcp_connect.c
index f6e95d60db54..96c2c4d17909 100644
--- a/net/rds/tcp_connect.c
+++ b/net/rds/tcp_connect.c
@@ -34,6 +34,7 @@
34#include <linux/in.h> 34#include <linux/in.h>
35#include <net/tcp.h> 35#include <net/tcp.h>
36 36
37#include "rds_single_path.h"
37#include "rds.h" 38#include "rds.h"
38#include "tcp.h" 39#include "tcp.h"
39 40
@@ -60,7 +61,8 @@ void rds_tcp_state_change(struct sock *sk)
60 case TCP_SYN_RECV: 61 case TCP_SYN_RECV:
61 break; 62 break;
62 case TCP_ESTABLISHED: 63 case TCP_ESTABLISHED:
63 rds_connect_path_complete(conn, RDS_CONN_CONNECTING); 64 rds_connect_path_complete(&conn->c_path[0],
65 RDS_CONN_CONNECTING);
64 break; 66 break;
65 case TCP_CLOSE_WAIT: 67 case TCP_CLOSE_WAIT:
66 case TCP_CLOSE: 68 case TCP_CLOSE: