tcp: Remove one extra ktime_get_ns() from cookie_init_timestamp
[linux-2.6-block.git] / net / ipv4 / tcp_output.c
index 0488607c5cd3615633af207f0bb41bea0c0176ce..be6d22b8190fa375074062032105879270af4be5 100644 (file)
@@ -3290,7 +3290,7 @@ struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
        now = tcp_clock_ns();
 #ifdef CONFIG_SYN_COOKIES
        if (unlikely(req->cookie_ts))
-               skb->skb_mstamp_ns = cookie_init_timestamp(req);
+               skb->skb_mstamp_ns = cookie_init_timestamp(req, now);
        else
 #endif
        {