commit | 298969727e7b855d53f3becfa92c055914082ec4 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Fri Aug 25 00:37:24 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Sep 22 15:18:03 2006 -0700 |
tree | f9aa6930cfe4d3beede0cd1f7fbbace8783bfb96 | |
parent | d4f3e9b735c72823aab597bfa4860d184658a609 [diff] [blame] |
[TCP] tcp_lp: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index 649ebae..308fb7e 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c
@@ -327,7 +327,7 @@ static int __init tcp_lp_register(void) { - BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE); + BUILD_BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE); return tcp_register_congestion_control(&tcp_lp); }