aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/tcp.h3
-rw-r--r--include/net/tcp.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 115389e9b945..b6c62d294380 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -412,7 +412,8 @@ struct tcp_sock {
412 412
413 struct tcp_sack_block recv_sack_cache[4]; 413 struct tcp_sack_block recv_sack_cache[4];
414 414
415 struct sk_buff *highest_sack; /* highest skb with SACK received 415 struct sk_buff *highest_sack; /* skb just after the highest
416 * skb with SACKed bit set
416 * (validity guaranteed only if 417 * (validity guaranteed only if
417 * sacked_out > 0) 418 * sacked_out > 0)
418 */ 419 */
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6b2acfce4cfd..8607e6aad42b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1362,8 +1362,9 @@ static inline void tcp_push_pending_frames(struct sock *sk)
1362 } 1362 }
1363} 1363}
1364 1364
1365/* Start sequence of the highest skb with SACKed bit, valid only if 1365/* Start sequence of the skb just after the highest skb with SACKed
1366 * sacked > 0 or when the caller has ensured validity by itself. 1366 * bit, valid only if sacked_out > 0 or when the caller has ensured
1367 * validity by itself.
1367 */ 1368 */
1368static inline u32 tcp_highest_sack_seq(struct tcp_sock *tp) 1369static inline u32 tcp_highest_sack_seq(struct tcp_sock *tp)
1369{ 1370{