aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-25 03:38:03 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 18:18:04 -0400
commit65e3d72654d9a33cdccd5c19777a5515ae9dd37d (patch)
tree7909c52172b254518c26377ff743241f3838d8eb /net/ipv4
parent298969727e7b855d53f3becfa92c055914082ec4 (diff)
[TCP] tcp_bic: 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')
-rw-r--r--net/ipv4/tcp_bic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_bic.c b/net/ipv4/tcp_bic.c
index b0134ab08379..5730333cd0ac 100644
--- a/net/ipv4/tcp_bic.c
+++ b/net/ipv4/tcp_bic.c
@@ -231,7 +231,7 @@ static struct tcp_congestion_ops bictcp = {
231 231
232static int __init bictcp_register(void) 232static int __init bictcp_register(void)
233{ 233{
234 BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); 234 BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);
235 return tcp_register_congestion_control(&bictcp); 235 return tcp_register_congestion_control(&bictcp);
236} 236}
237 237