summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_westwood.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-26 02:10:33 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 00:18:13 +0200
commit74975d40b16fd4bad24a2e2630dc7957d8cba013 (patch)
tree4fc905f88af941dd204d4918b2d61829bb3606f6 /net/ipv4/tcp_westwood.c
parent[NET_SCHED]: Add mask support to fwmark classifier (diff)
downloadlinux-74975d40b16fd4bad24a2e2630dc7957d8cba013.tar.xz
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_westwood.c')
-rw-r--r--net/ipv4/tcp_westwood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_westwood.c b/net/ipv4/tcp_westwood.c
index 5446312ffd2a..4f42a86c77f3 100644
--- a/net/ipv4/tcp_westwood.c
+++ b/net/ipv4/tcp_westwood.c
@@ -289,7 +289,7 @@ static struct tcp_congestion_ops tcp_westwood = {
static int __init tcp_westwood_register(void)
{
- BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE);
+ BUILD_BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&tcp_westwood);
}