summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-08-11 01:31:21 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:48:00 +0400
commit13dae426318aae073028a4b3bd493104a991e800 (patch)
tree29c2265378c70c9d771c8127d960455e8d64dc27 /include
parente60402d0a909ca2e6e2fbdf9ed004ef0fae36d33 (diff)
downloadlinux-13dae426318aae073028a4b3bd493104a991e800.tar.xz
[TCP]: Update comment about highest_sack validity
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 1f12fa0b67d7..f8cf090e8f49 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -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;