aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_lp.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-25 03:37:24 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:18:03 -0400
commit298969727e7b855d53f3becfa92c055914082ec4 (patch)
treef9aa6930cfe4d3beede0cd1f7fbbace8783bfb96 /net/ipv4/tcp_lp.c
parentd4f3e9b735c72823aab597bfa4860d184658a609 (diff)
[TCP] tcp_lp: use BUILD_BUG_ON
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_lp.c')
-rw-r--r--net/ipv4/tcp_lp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c
index 649ebaed1df1..308fb7e071c5 100644
--- a/net/ipv4/tcp_lp.c
+++ b/net/ipv4/tcp_lp.c
@@ -327,7 +327,7 @@ static struct tcp_congestion_ops tcp_lp = {
327 327
328static int __init tcp_lp_register(void) 328static int __init tcp_lp_register(void)
329{ 329{
330 BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE); 330 BUILD_BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE);
331 return tcp_register_congestion_control(&tcp_lp); 331 return tcp_register_congestion_control(&tcp_lp);
332} 332}
333 333