summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_lp.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-25 00:37:24 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:03 -0700
commit298969727e7b855d53f3becfa92c055914082ec4 (patch)
treef9aa6930cfe4d3beede0cd1f7fbbace8783bfb96 /net/ipv4/tcp_lp.c
parentd4f3e9b735c72823aab597bfa4860d184658a609 (diff)
downloadop-kernel-dev-298969727e7b855d53f3becfa92c055914082ec4.zip
op-kernel-dev-298969727e7b855d53f3becfa92c055914082ec4.tar.gz
[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 649ebae..308fb7e 100644
--- a/net/ipv4/tcp_lp.c
+++ b/net/ipv4/tcp_lp.c
@@ -327,7 +327,7 @@ static struct tcp_congestion_ops tcp_lp = {
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);
}
OpenPOWER on IntegriCloud