diff options
author | Ying Xue <ying.xue@windriver.com> | 2012-08-16 08:09:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 05:26:31 -0400 |
commit | 34f256cc7962a44537a0d33877cd93c89873098e (patch) | |
tree | ceb48aa806a99439d345b37ecbc3159b1ddcf385 /net/tipc/core.h | |
parent | 61cdd4d80b29cfdee45920238eea2d1fbb51f922 (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.h')
-rw-r--r-- | net/tipc/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index 4c5705ac8a5a..ef01412b0989 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -60,7 +60,8 @@ | |||
60 | 60 | ||
61 | #define TIPC_MOD_VER "2.0.0" | 61 | #define TIPC_MOD_VER "2.0.0" |
62 | 62 | ||
63 | #define ULTRA_STRING_MAX_LEN 32768 | 63 | #define ULTRA_STRING_MAX_LEN 32768 |
64 | #define TIPC_MAX_SUBSCRIPTIONS 65535 | ||
64 | 65 | ||
65 | struct tipc_msg; /* msg.h */ | 66 | struct tipc_msg; /* msg.h */ |
66 | 67 | ||
@@ -76,7 +77,6 @@ int tipc_snprintf(char *buf, int len, const char *fmt, ...); | |||
76 | */ | 77 | */ |
77 | extern u32 tipc_own_addr __read_mostly; | 78 | extern u32 tipc_own_addr __read_mostly; |
78 | extern int tipc_max_ports __read_mostly; | 79 | extern int tipc_max_ports __read_mostly; |
79 | extern int tipc_max_subscriptions; | ||
80 | extern int tipc_max_publications; | 80 | extern int tipc_max_publications; |
81 | extern int tipc_net_id __read_mostly; | 81 | extern int tipc_net_id __read_mostly; |
82 | extern int tipc_remote_management __read_mostly; | 82 | extern int tipc_remote_management __read_mostly; |