]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/tcp_ipv4.c
tcp: consolidate SYNACK RTT sampling
[~andy/linux] / net / ipv4 / tcp_ipv4.c
index b299da5ff4996fb5785d2725c66c43d91db918d4..2e3f129df0ebb87cc7b858cc45398fe4a2ddca6e 100644 (file)
@@ -1671,8 +1671,6 @@ struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
                newtp->advmss = tcp_sk(sk)->rx_opt.user_mss;
 
        tcp_initialize_rcv_mss(newsk);
-       tcp_synack_rtt_meas(newsk, req);
-       newtp->total_retrans = req->num_retrans;
 
 #ifdef CONFIG_TCP_MD5SIG
        /* Copy over the MD5 key from the original socket */