Commit 87d943085b76c6f07807dbc9fde2aad88e828590

Authored by Neal Cardwell
Committed by David S. Miller
1 parent cfecec56ae

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>

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

net/ipv4/tcp_output.c
... ... @@ -1146,9 +1146,6 @@
1146 1146  
1147 1147 buff->ip_summed = skb->ip_summed;
1148 1148  
1149   - /* Looks stupid, but our code really uses when of
1150   - * skbs, which it never sent before. --ANK
1151   - */
1152 1149 buff->tstamp = skb->tstamp;
1153 1150 tcp_fragment_tstamp(skb, buff);
1154 1151