Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34631
b: refs/heads/master
c: 74975d4
h: refs/heads/master
i:
  34629: 31eb62d
  34627: a966e54
  34623: 6c79798
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Sep 22, 2006
1 parent aa30e72 commit 197c46f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4e9b520ca5d07a37ea59648e7f50f478e7487a3
refs/heads/master: 74975d40b16fd4bad24a2e2630dc7957d8cba013
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_cubic.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ static struct tcp_congestion_ops cubictcp = {

static int __init cubictcp_register(void)
{
BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE);

/* Precompute a bunch of the scaling factors that are used per-packet
* based on SRTT of 100ms
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_highspeed.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static struct tcp_congestion_ops tcp_highspeed = {

static int __init hstcp_register(void)
{
BUG_ON(sizeof(struct hstcp) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct hstcp) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&tcp_highspeed);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_htcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static struct tcp_congestion_ops htcp = {

static int __init htcp_register(void)
{
BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(BETA_MIN >= BETA_MAX);
return tcp_register_congestion_control(&htcp);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_hybla.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static struct tcp_congestion_ops tcp_hybla = {

static int __init hybla_register(void)
{
BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct hybla) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&tcp_hybla);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_vegas.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static struct tcp_congestion_ops tcp_vegas = {

static int __init tcp_vegas_register(void)
{
BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct vegas) > ICSK_CA_PRIV_SIZE);
tcp_register_congestion_control(&tcp_vegas);
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_veno.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static struct tcp_congestion_ops tcp_veno = {

static int __init tcp_veno_register(void)
{
BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct veno) > ICSK_CA_PRIV_SIZE);
tcp_register_congestion_control(&tcp_veno);
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_westwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static struct tcp_congestion_ops tcp_westwood = {

static int __init tcp_westwood_register(void)
{
BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE);
BUILD_BUG_ON(sizeof(struct westwood) > ICSK_CA_PRIV_SIZE);
return tcp_register_congestion_control(&tcp_westwood);
}

Expand Down

0 comments on commit 197c46f

Please sign in to comment.