Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29896972 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller
Browse files

[TCP] tcp_lp: use BUILD_BUG_ON

parent d4f3e9b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}