Skip to content

Commit

Permalink
[TCP]: Update comment about highest_sack validity
Browse files Browse the repository at this point in the history
This stale info came from the original idea, which proved to be
unnecessarily complex, sacked_out > 0 is easy to do and that when
it's going to be needed anyway (it _can_ be valid also when
sacked_out == 0 but there's not going to be a guarantee about it
for now).

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Oct 10, 2007
1 parent e60402d commit 13dae42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ struct tcp_sock {

struct tcp_sack_block_wire recv_sack_cache[4];

u32 highest_sack; /* Start seq of globally highest revd SACK (valid only in slowpath) */
u32 highest_sack; /* Start seq of globally highest revd SACK
* (validity guaranteed only if sacked_out > 0) */

/* from STCP, retrans queue hinting */
struct sk_buff* lost_skb_hint;
Expand Down

0 comments on commit 13dae42

Please sign in to comment.