mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
[TCP] tcp_lp: 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:
parent
d4f3e9b735
commit
298969727e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user