projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab230f
)
[TIPC]: Use correct upper bound when validating network zone number.
author
Allan Stephens
<allan.stephens@windriver.com>
Mon, 26 Jun 2006 06:38:00 +0000
(23:38 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 26 Jun 2006 06:38:00 +0000
(23:38 -0700)
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.c
patch
|
blob
|
history
diff --git
a/net/tipc/core.c
b/net/tipc/core.c
index 3d0a8ee4e1d3986f0f45f12ff68c40ce13083d38..31c7dd58b2a891d1601f15eaddc1b599f0166e49 100644
(file)
--- a/
net/tipc/core.c
+++ b/
net/tipc/core.c
@@
-198,7
+198,7
@@
static int __init tipc_init(void)
tipc_max_publications = 10000;
tipc_max_subscriptions = 2000;
tipc_max_ports = delimit(CONFIG_TIPC_PORTS, 127, 65536);
- tipc_max_zones = delimit(CONFIG_TIPC_ZONES, 1,
511
);
+ tipc_max_zones = delimit(CONFIG_TIPC_ZONES, 1,
255
);
tipc_max_clusters = delimit(CONFIG_TIPC_CLUSTERS, 1, 1);
tipc_max_nodes = delimit(CONFIG_TIPC_NODES, 8, 2047);
tipc_max_slaves = delimit(CONFIG_TIPC_SLAVE_NODES, 0, 2047);