summaryrefslogtreecommitdiffstats
path: root/net/tipc/eth_media.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2011-05-27 15:09:40 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-17 22:55:07 -0400
commit909234cdd2b5954374e346c105b648f6c2800f55 (patch)
tree42fe9a492cddfce02d8cd030d139861aad186016 /net/tipc/eth_media.c
parent18abf0fb6b8f05be2a289abbbc054d4869281476 (diff)
downloadop-kernel-dev-909234cdd2b5954374e346c105b648f6c2800f55.zip
op-kernel-dev-909234cdd2b5954374e346c105b648f6c2800f55.tar.gz
tipc: Lower limits for number of bearers and media types
Reduces the number of bearers a node can support to 2, which can use identical or non-identical media. This change won't impact users, since they are currently limited to a maximum of 2 Ethernet bearers, and will save memory by eliminating a number of unused entries in TIPC's media and bearer arrays. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/eth_media.c')
-rw-r--r--net/tipc/eth_media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c
index 413b337..e728d4c 100644
--- a/net/tipc/eth_media.c
+++ b/net/tipc/eth_media.c
@@ -37,7 +37,7 @@
#include "core.h"
#include "bearer.h"
-#define MAX_ETH_BEARERS 2
+#define MAX_ETH_BEARERS MAX_BEARERS
#define ETH_LINK_PRIORITY TIPC_DEF_LINK_PRI
#define ETH_LINK_TOLERANCE TIPC_DEF_LINK_TOL
#define ETH_LINK_WINDOW TIPC_DEF_LINK_WIN
OpenPOWER on IntegriCloud