summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-03-25 04:03:23 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 23:47:50 (GMT)
commitd738cd8fca948e45d53120247cb7a5f5be3ca09e (patch)
treeb2136bcfa2802a21b41de72eb4f6dc338a0bd321 /include
parentd961db358f41033a8fc7b62948bc7cff1b4bb1fe (diff)
downloadlinux-d738cd8fca948e45d53120247cb7a5f5be3ca09e.tar.xz
[TCP]: Add highest_sack seqno, points to globally highest SACK
It is guaranteed to be valid only when !tp->sacked_out. In most cases this seqno is available in the last ACK but there is no guarantee for that. The new fast recovery loss marking algorithm needs this as entry point. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index c6b9f92..c072f88 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -333,6 +333,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) */
+
/* from STCP, retrans queue hinting */
struct sk_buff* lost_skb_hint;