[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>
This commit is contained in:
committed by
David S. Miller
parent
b4e9b520ca
commit
74975d40b1
@@ -212,7 +212,7 @@ static struct tcp_congestion_ops tcp_veno = {
|
||||
|
||||
static int __init tcp_veno_register(void)
|
||||
{
|
||||
BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE);
|
||||
BUILD_BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE);
|
||||
tcp_register_congestion_control(&tcp_veno);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user