summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2013-09-14 17:06:53 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 20:18:25 -0700
commit5257a97a86766bdc3a976e3278b65367f35f9ff8 (patch)
tree4c2f54480001df75745bdfbf9b9f1ccbe71a3199 /net/ipv4/tcp.c
parentca43de58e5c35310fef81a64e0854615595935ee (diff)
parent410dbb746130bc052bb3c7a337a86252874adbdf (diff)
Merge tag 'v3.10.12' into android-tegra-nv-3.10-rebase
This is the 3.10.12 stable release Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 880d2a644ca2..acc91d6c2c75 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1122,6 +1122,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;
+
+ /*
* Check whether we can use HW checksum.
*/
if (sk->sk_route_caps & NETIF_F_ALL_CSUM)