diff options
author | Anmol Sarma <me@anmolsarma.in> | 2017-06-03 14:10:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-05 16:53:24 +0200 |
commit | 1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c (patch) | |
tree | 58227cc33cc39d0b72bcbf0abcd76ec357d114b1 /include/net/tcp.h | |
parent | net/mlx4: Fix the check in attaching steering rules (diff) | |
download | linux-1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c.tar.xz linux-1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c.zip |
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/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
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); |