public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tcp_bic: use BUILD_BUG_ON
@ 2006-08-25  1:08 Alexey Dobriyan
  2006-08-25  7:37 ` David Miller
  2006-08-25 23:27 ` Stephen Hemminger
  0 siblings, 2 replies; 5+ messages in thread
From: Alexey Dobriyan @ 2006-08-25  1:08 UTC (permalink / raw)
  To: netdev

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 net/ipv4/tcp_bic.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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);
 }
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-26  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25  1:08 [PATCH] tcp_bic: use BUILD_BUG_ON Alexey Dobriyan
2006-08-25  7:37 ` David Miller
2006-08-25 23:27 ` Stephen Hemminger
2006-08-25 23:57   ` [PATCH] Congestion control (modulo lp, bic): " Alexey Dobriyan
2006-08-26  0:10     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox