Skip to content

Commit

Permalink
tcp: remove obsolete comment about TCP_SKB_CB(skb)->when in tcp_fragm…
Browse files Browse the repository at this point in the history
…ent()

The TCP_SKB_CB(skb)->when field no longer exists as of recent change
7faee5c ("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 <[email protected]>
Reported-by: Yuchung Cheng <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
nealcardwell authored and davem330 committed Sep 6, 2014
1 parent cfecec5 commit 87d9430
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 87d9430

Please sign in to comment.