aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_hybla.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_hybla.c')
-rw-r--r--net/ipv4/tcp_hybla.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_hybla.c b/net/ipv4/tcp_hybla.c
index 40dbb3877510..59e691d26f64 100644
--- a/net/ipv4/tcp_hybla.c
+++ b/net/ipv4/tcp_hybla.c
@@ -10,7 +10,6 @@
10 * root at danielinux.net 10 * root at danielinux.net
11 */ 11 */
12 12
13#include <linux/config.h>
14#include <linux/module.h> 13#include <linux/module.h>
15#include <net/tcp.h> 14#include <net/tcp.h>
16 15
@@ -171,7 +170,7 @@ static struct tcp_congestion_ops tcp_hybla = {
171 170
172static int __init hybla_register(void) 171static int __init hybla_register(void)
173{ 172{
174 BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE); 173 BUILD_BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE);
175 return tcp_register_congestion_control(&tcp_hybla); 174 return tcp_register_congestion_control(&tcp_hybla);
176} 175}
177 176