Skip to content

Commit

Permalink
[TCP] tcp_lp: use BUILD_BUG_ON
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Sep 22, 2006
1 parent d4f3e9b commit 2989697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/tcp_lp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2989697

Please sign in to comment.