summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_bic.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-25 00:38:03 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:18:04 -0700
commit65e3d72654d9a33cdccd5c19777a5515ae9dd37d (patch)
tree7909c52172b254518c26377ff743241f3838d8eb /net/ipv4/tcp_bic.c
parent298969727e7b855d53f3becfa92c055914082ec4 (diff)
downloadlinux-stable-65e3d72654d9a33cdccd5c19777a5515ae9dd37d.tar.gz
linux-stable-65e3d72654d9a33cdccd5c19777a5515ae9dd37d.tar.bz2
linux-stable-65e3d72654d9a33cdccd5c19777a5515ae9dd37d.zip
[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/tcp_bic.c')
-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 = {
static int __init bictcp_register(void)
{
- BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);
+ BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&bictcp);
}