[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1376786376.21329.20.camel@edumazet-glaptop>
Date: Sat, 17 Aug 2013 17:39:36 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andrey Vagin <avagin@...nvz.org>
Cc: netdev <netdev@...r.kernel.org>
Subject: About tcp: set timestamps for restored skb-s
Because of gmail.com problems, I missed lot of netdev traffic
Related to :
http://patchwork.ozlabs.org/patch/267678/
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 5423223..b2f6c74 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1121,6 +1121,13 @@ new_segment:
goto wait_for_memory;
/*
+ * All packets are restored as if they have
+ * already been sent.
+ */
+ if (tp->repair)
+ TCP_SKB_CB(skb)->when = tcp_time_stamp;
+
The test could be removed.
Setting @when for regular sends seems harmless
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists