]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Lower limits for number of bearers and media types
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 27 May 2011 19:09:40 +0000 (15:09 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 18 Sep 2011 02:55:07 +0000 (22:55 -0400)
commit00d7d79d4f57502fe4028e046ad612b99acebd42
tree42fe9a492cddfce02d8cd030d139861aad186016
parent02dd0a72392900d4c6a6c0a116899d28dcf4fe5d
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>
net/tipc/bearer.h
net/tipc/eth_media.c