diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-08-25 17:10:33 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:18:13 -0700 |
commit | 74975d40b16fd4bad24a2e2630dc7957d8cba013 (patch) | |
tree | 4fc905f88af941dd204d4918b2d61829bb3606f6 /net/ipv4/tcp_cubic.c | |
parent | b4e9b520ca5d07a37ea59648e7f50f478e7487a3 (diff) | |
download | linux-74975d40b16fd4bad24a2e2630dc7957d8cba013.tar.gz linux-74975d40b16fd4bad24a2e2630dc7957d8cba013.tar.bz2 linux-74975d40b16fd4bad24a2e2630dc7957d8cba013.zip |
[TCP] Congestion control (modulo lp, 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_cubic.c')
-rw-r--r-- | net/ipv4/tcp_cubic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_cubic.c b/net/ipv4/tcp_cubic.c index 2be27980ca78..a60ef38d75c6 100644 --- a/net/ipv4/tcp_cubic.c +++ b/net/ipv4/tcp_cubic.c @@ -358,7 +358,7 @@ static struct tcp_congestion_ops cubictcp = { static int __init cubictcp_register(void) { - BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); + BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); /* Precompute a bunch of the scaling factors that are used per-packet * based on SRTT of 100ms |