aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2014-09-06 11:18:20 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-06 12:29:10 -0700
commit87d943085b76c6f07807dbc9fde2aad88e828590 (patch)
treecf603351d055d0c1255a80c3ac61bec90841de6f /net/ipv4/tcp_output.c
parentmlx4: only pull headers into skb head (diff)
downloadlinux-dev-87d943085b76c6f07807dbc9fde2aad88e828590.tar.xz
linux-dev-87d943085b76c6f07807dbc9fde2aad88e828590.zip
tcp: remove obsolete comment about TCP_SKB_CB(skb)->when in tcp_fragment()
The TCP_SKB_CB(skb)->when field no longer exists as of recent change 7faee5c0d514 ("tcp: remove TCP_SKB_CB(skb)->when"). And in any case, tcp_fragment() is called on already-transmitted packets from the __tcp_retransmit_skb() call site, so copying timestamps of any kind in this spot is quite sensible. Signed-off-by: Neal Cardwell <ncardwell@google.com> Reported-by: Yuchung Cheng <ycheng@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 3b22dcb7bb5c..7f1280dcad57 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1146,9 +1146,6 @@ int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len,
buff->ip_summed = skb->ip_summed;
- /* Looks stupid, but our code really uses when of
- * skbs, which it never sent before. --ANK
- */
buff->tstamp = skb->tstamp;
tcp_fragment_tstamp(skb, buff);