|
@@ -286,7 +286,7 @@ static struct tcp_congestion_ops htcp = {
|
|
|
|
|
|
static int __init htcp_register(void)
|
|
static int __init htcp_register(void)
|
|
{
|
|
{
|
|
- BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
|
|
|
|
|
|
+ BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
|
|
BUILD_BUG_ON(BETA_MIN >= BETA_MAX);
|
|
BUILD_BUG_ON(BETA_MIN >= BETA_MAX);
|
|
return tcp_register_congestion_control(&htcp);
|
|
return tcp_register_congestion_control(&htcp);
|
|
}
|
|
}
|