aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cubic.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_cubic.c')
-rw-r--r--net/ipv4/tcp_cubic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c
index 78b7a6b9e4de..a60ef38d75c6 100644
--- a/net/ipv4/tcp_cubic.c
+++ b/net/ipv4/tcp_cubic.c
@@ -12,7 +12,6 @@
12 * this behaves the same as the original Reno. 12 * this behaves the same as the original Reno.
13 */ 13 */
14 14
15#include <linux/config.h>
16#include <linux/mm.h> 15#include <linux/mm.h>
17#include <linux/module.h> 16#include <linux/module.h>
18#include <net/tcp.h> 17#include <net/tcp.h>
@@ -359,7 +358,7 @@ static struct tcp_congestion_ops cubictcp = {
359 358
360static int __init cubictcp_register(void) 359static int __init cubictcp_register(void)
361{ 360{
362 BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); 361 BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);
363 362
364 /* Precompute a bunch of the scaling factors that are used per-packet 363 /* Precompute a bunch of the scaling factors that are used per-packet
365 * based on SRTT of 100ms 364 * based on SRTT of 100ms