aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
-rw-r--r--net/ipv4/tcp_vegas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c
index 490360b5b4b..a3b7aa015a2 100644
--- a/net/ipv4/tcp_vegas.c
+++ b/net/ipv4/tcp_vegas.c
@@ -370,7 +370,7 @@ static struct tcp_congestion_ops tcp_vegas = {
370 370
371static int __init tcp_vegas_register(void) 371static int __init tcp_vegas_register(void)
372{ 372{
373 BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE); 373 BUILD_BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE);
374 tcp_register_congestion_control(&tcp_vegas); 374 tcp_register_congestion_control(&tcp_vegas);
375 return 0; 375 return 0;
376} 376}