aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2012-08-16 08:09:13 -0400
committerDavid S. Miller <davem@davemloft.net>2012-08-20 05:26:31 -0400
commit34f256cc7962a44537a0d33877cd93c89873098e (patch)
treeceb48aa806a99439d345b37ecbc3159b1ddcf385 /net/tipc/core.c
parent61cdd4d80b29cfdee45920238eea2d1fbb51f922 (diff)
tipc: eliminate configuration for maximum number of name subscriptions
Gets rid of the need for users to specify the maximum number of name subscriptions supported by TIPC. TIPC now automatically provides support for the maximum number of name subscriptions to 65535. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r--net/tipc/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index b858f2003523..73e5eac20735 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -53,7 +53,6 @@ int tipc_random __read_mostly;
53/* configurable TIPC parameters */ 53/* configurable TIPC parameters */
54u32 tipc_own_addr __read_mostly; 54u32 tipc_own_addr __read_mostly;
55int tipc_max_ports __read_mostly; 55int tipc_max_ports __read_mostly;
56int tipc_max_subscriptions;
57int tipc_max_publications; 56int tipc_max_publications;
58int tipc_net_id __read_mostly; 57int tipc_net_id __read_mostly;
59int tipc_remote_management __read_mostly; 58int tipc_remote_management __read_mostly;
@@ -157,7 +156,6 @@ static int __init tipc_init(void)
157 tipc_own_addr = 0; 156 tipc_own_addr = 0;
158 tipc_remote_management = 1; 157 tipc_remote_management = 1;
159 tipc_max_publications = 10000; 158 tipc_max_publications = 10000;
160 tipc_max_subscriptions = 2000;
161 tipc_max_ports = CONFIG_TIPC_PORTS; 159 tipc_max_ports = CONFIG_TIPC_PORTS;
162 tipc_net_id = 4711; 160 tipc_net_id = 4711;
163 161