summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnmol Sarma <me@anmolsarma.in>2017-06-03 17:40:54 +0530
committerDavid S. Miller <davem@davemloft.net>2017-06-05 10:53:24 -0400
commit1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c (patch)
tree58227cc33cc39d0b72bcbf0abcd76ec357d114b1 /include
parent6dc06c08bef1c746ff8da33dab677cfbacdcad32 (diff)
downloadlinux-1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c.tar.bz2
net: Update TCP congestion control documentation
Update tcp.txt to fix mandatory congestion control ops and default CCA selection. Also, fix comment in tcp.h for undo_cwnd. Signed-off-by: Anmol Sarma <me@anmolsarma.in> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 38a7427ae902..be6223c586fa 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -924,7 +924,7 @@ struct tcp_congestion_ops {
void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
/* call when ack arrives (optional) */
void (*in_ack_event)(struct sock *sk, u32 flags);
- /* new value of cwnd after loss (optional) */
+ /* new value of cwnd after loss (required) */
u32 (*undo_cwnd)(struct sock *sk);
/* hook for packet ack accounting (optional) */
void (*pkts_acked)(struct sock *sk, const struct ack_sample *sample);