diff options
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index 79900f783e0d..9c2a0d36fb20 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c | |||
@@ -522,6 +522,11 @@ struct sock *tcp_create_openreq_child(const struct sock *sk, | |||
522 | newtp->rx_opt.ts_recent_stamp = 0; | 522 | newtp->rx_opt.ts_recent_stamp = 0; |
523 | newtp->tcp_header_len = sizeof(struct tcphdr); | 523 | newtp->tcp_header_len = sizeof(struct tcphdr); |
524 | } | 524 | } |
525 | if (req->num_timeout) { | ||
526 | newtp->undo_marker = treq->snt_isn; | ||
527 | newtp->retrans_stamp = div_u64(treq->snt_synack, | ||
528 | USEC_PER_SEC / TCP_TS_HZ); | ||
529 | } | ||
525 | newtp->tsoffset = treq->ts_off; | 530 | newtp->tsoffset = treq->ts_off; |
526 | #ifdef CONFIG_TCP_MD5SIG | 531 | #ifdef CONFIG_TCP_MD5SIG |
527 | newtp->md5sig_info = NULL; /*XXX*/ | 532 | newtp->md5sig_info = NULL; /*XXX*/ |