提交 29896972 编写于 作者: A Alexey Dobriyan 提交者: David S. Miller

[TCP] tcp_lp: use BUILD_BUG_ON

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d4f3e9b7
......@@ -327,7 +327,7 @@ static struct tcp_congestion_ops tcp_lp = {
static int __init tcp_lp_register(void)
{
BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&tcp_lp);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册