1
0
Fork 0
alistair23-linux/net/tipc
Allan Stephens c47e9b9188 tipc: Eliminate dynamic allocation of broadcast link data structures
Creates global variables to hold the broadcast link's pseudo-bearer and
pseudo-link structures, rather than allocating them dynamically. There
is only a single instance of each structure, and changing over to static
allocation allows elimination of code to handle the cases where dynamic
allocation was unsuccessful.

The memset in the teardown code may look like they aren't used, but
the same teardown code is run when there is a non-fatal error at
init-time, so that stale data isn't present when the user fixes the
cause of the soft error.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-12-27 11:33:47 -05:00
..
Kconfig tipc: Eliminate configuration for maximum number of cluster nodes 2011-03-13 16:35:17 -04:00
Makefile tipc: rename dbg.[ch] to log.[ch] 2011-01-01 13:57:51 -08:00
addr.c tipc: Eliminate configuration for maximum number of cluster nodes 2011-03-13 16:35:17 -04:00
addr.h tipc: make zone/cluster mask constants a define 2011-05-10 16:03:54 -04:00
bcast.c tipc: Eliminate dynamic allocation of broadcast link data structures 2011-12-27 11:33:47 -05:00
bcast.h tipc: Eliminate dynamic allocation of broadcast link data structures 2011-12-27 11:33:47 -05:00
bearer.c tipc: Allow run-time alteration of default link settings 2011-12-27 11:33:39 -05:00
bearer.h tipc: Allow run-time alteration of default link settings 2011-12-27 11:33:39 -05:00
config.c tipc: Revise comment justifying release of configuration spinlock 2011-12-27 11:33:40 -05:00
config.h tipc: Remove unused link event tracking code 2011-09-17 22:55:15 -04:00
core.c tipc: Minor optimization to deactivation of Ethernet media suppot 2011-12-27 11:33:41 -05:00
core.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
discover.c tipc: Ignore neighbor discovery messages containing invalid address 2011-12-27 11:33:38 -05:00
discover.h tipc: Add monitoring of number of nodes discovered by bearer 2011-05-10 16:04:01 -04:00
eth_media.c tipc: Eliminate useless memset operations in Ethernet media support 2011-12-27 11:33:44 -05:00
handler.c tipc: remove zeroing assignments to static global variables 2011-01-01 13:57:57 -08:00
link.c tipc: Allow run-time alteration of default link settings 2011-12-27 11:33:39 -05:00
link.h tipc: Enhance sending of bulk name table messages 2011-09-17 22:55:10 -04:00
log.c tipc: Finish streamlining of debugging code 2011-01-01 13:57:54 -08:00
log.h tipc: update log.h re-include protection to reflect new name 2011-01-01 14:56:18 -08:00
msg.c tipc: Hide media-specific addressing details from generic bearer code 2011-12-27 11:33:36 -05:00
msg.h tipc: Hide media-specific addressing details from generic bearer code 2011-12-27 11:33:36 -05:00
name_distr.c tipc: Eliminate useless check when network address is assigned 2011-12-27 11:33:46 -05:00
name_distr.h
name_table.c tipc: Eliminate checks for empty zone list during name translation 2011-06-24 16:18:16 -04:00
name_table.h tipc: Convert name table publication lists to standard kernel lists 2011-06-24 16:18:16 -04:00
net.c tipc: Eliminate dynamic allocation of broadcast link data structures 2011-12-27 11:33:47 -05:00
net.h tipc: manually inline net_start/stop, make assoc. vars static 2011-03-13 16:35:17 -04:00
netlink.c
node.c tipc: Ensure both nodes recognize loss of contact between them 2011-09-17 22:55:03 -04:00
node.h tipc: Ensure both nodes recognize loss of contact between them 2011-09-17 22:55:03 -04:00
node_subscr.c tipc: Cosmetic changes to node subscription code 2011-03-13 16:35:16 -04:00
node_subscr.h tipc: Cosmetic changes to node subscription code 2011-03-13 16:35:16 -04:00
port.c tipc: Optimize creation of connection protocol messages 2011-06-24 16:18:18 -04:00
port.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
ref.c net: two vzalloc() cleanups 2011-12-19 16:01:38 -05:00
ref.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
socket.c tipc: Enable use by containers having their own network namespace 2011-12-27 11:13:05 -05:00
subscr.c tipc: Remove callback field from subscription structure 2011-09-17 22:55:14 -04:00
subscr.h tipc: Remove callback field from subscription structure 2011-09-17 22:55:14 -04:00