Skip to content

Commit

Permalink
[TCP] tcp_bic: use BUILD_BUG_ON
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Sep 22, 2006
1 parent 2989697 commit 65e3d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/tcp_bic.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static struct tcp_congestion_ops bictcp = {

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);
}

Expand Down

0 comments on commit 65e3d72

Please sign in to comment.