Page MenuHomeFreeBSD

D36547.diff
No OneTemporary

D36547.diff

diff --git a/sys/netinet/cc/cc.h b/sys/netinet/cc/cc.h
--- a/sys/netinet/cc/cc.h
+++ b/sys/netinet/cc/cc.h
@@ -112,7 +112,7 @@
#define CCF_IPHDR_CE 0x0010 /* Does this packet set CE bit? */
#define CCF_TCPHDR_CWR 0x0020 /* Does this packet set CWR bit? */
#define CCF_MAX_CWND 0x0040 /* Have we reached maximum cwnd? */
-#define CCF_CHG_MAX_CWND 0x0080 /* Cubic max_cwnd changed, for K */
+#define CCF_CHG_MAX_CWND 0x0080 /* CUBIC max_cwnd changed, for K */
#define CCF_USR_IWND 0x0100 /* User specified initial window */
#define CCF_USR_IWND_INIT_NSEG 0x0200 /* Convert segs to bytes on conn init */
#define CCF_HYSTART_ALLOWED 0x0400 /* If the CC supports it Hystart is allowed */
diff --git a/sys/netinet/cc/cc_cubic.h b/sys/netinet/cc/cc_cubic.h
--- a/sys/netinet/cc/cc_cubic.h
+++ b/sys/netinet/cc/cc_cubic.h
@@ -89,7 +89,7 @@
/* Kernel only bits */
#ifdef _KERNEL
struct cubic {
- /* Cubic K in fixed point form with CUBIC_SHIFT worth of precision. */
+ /* CUBIC K in fixed point form with CUBIC_SHIFT worth of precision. */
int64_t K;
/* Sum of RTT samples across an epoch in ticks. */
int64_t sum_rtt_ticks;
diff --git a/sys/netinet/cc/cc_cubic.c b/sys/netinet/cc/cc_cubic.c
--- a/sys/netinet/cc/cc_cubic.c
+++ b/sys/netinet/cc/cc_cubic.c
@@ -345,7 +345,7 @@
}
/*
- * This is a Cubic specific implementation of after_idle.
+ * This is a CUBIC specific implementation of after_idle.
* - Reset cwnd by calling New Reno implementation of after_idle.
* - Reset t_last_cong.
*/

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 24, 8:17 AM (21 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12646629
Default Alt Text
D36547.diff (1 KB)

Event Timeline