Commit 65e3d726 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

[TCP] tcp_bic: use BUILD_BUG_ON

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 29896972
...@@ -231,7 +231,7 @@ static struct tcp_congestion_ops bictcp = { ...@@ -231,7 +231,7 @@ static struct tcp_congestion_ops bictcp = {
static int __init bictcp_register(void) 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); return tcp_register_congestion_control(&bictcp);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment