diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index cfeeeb7fcf5..d6212d6bc8d 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1169,7 +1169,6 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
1169 | } | 1169 | } |
1170 | have_isn: | 1170 | have_isn: |
1171 | tcp_rsk(req)->snt_isn = isn; | 1171 | tcp_rsk(req)->snt_isn = isn; |
1172 | tcp_rsk(req)->snt_synack = tcp_time_stamp; | ||
1173 | 1172 | ||
1174 | if (security_inet_conn_request(sk, skb, req)) | 1173 | if (security_inet_conn_request(sk, skb, req)) |
1175 | goto drop_and_release; | 1174 | goto drop_and_release; |
@@ -1180,6 +1179,7 @@ have_isn: | |||
1180 | want_cookie) | 1179 | want_cookie) |
1181 | goto drop_and_free; | 1180 | goto drop_and_free; |
1182 | 1181 | ||
1182 | tcp_rsk(req)->snt_synack = tcp_time_stamp; | ||
1183 | tcp_rsk(req)->listener = NULL; | 1183 | tcp_rsk(req)->listener = NULL; |
1184 | inet6_csk_reqsk_queue_hash_add(sk, req, TCP_TIMEOUT_INIT); | 1184 | inet6_csk_reqsk_queue_hash_add(sk, req, TCP_TIMEOUT_INIT); |
1185 | return 0; | 1185 | return 0; |