aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-10-07 23:37:25 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:54:47 -0700
commitc79e3357166a2ca39fd7613b0eb7f493c1ac5e11 (patch)
tree26f55cf53505dd7f52aa35977f1138e9d852cc6e /include/linux/tcp.h
parent[TCP]: Fix two off-by-one errors in fackets_out adjusting logic (diff)
downloadlinux-dev-c79e3357166a2ca39fd7613b0eb7f493c1ac5e11.tar.xz
linux-dev-c79e3357166a2ca39fd7613b0eb7f493c1ac5e11.zip
[TCP]: Comment fastpath_cnt_hint off-by-one trap
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-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 f8cf090e8f49..9ff456e8d6c7 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -343,7 +343,8 @@ struct tcp_sock {
struct sk_buff *forward_skb_hint;
struct sk_buff *fastpath_skb_hint;
- int fastpath_cnt_hint;
+ int fastpath_cnt_hint; /* Lags behind by current skb's pcount
+ * compared to respective fackets_out */
int lost_cnt_hint;
int retransmit_cnt_hint;