diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2006-06-25 23:52:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-25 23:52:50 -0700 |
commit | 5392d646886d8f1ae01be69c10600b8df5284c41 (patch) | |
tree | 38f6c38498dc7f1632cc04a50098b82037307e44 /net/tipc/node.h | |
parent | a10bd924a421e0e5d5bb9640735b9317b8e473b5 (diff) | |
download | linux-5392d646886d8f1ae01be69c10600b8df5284c41.tar.gz linux-5392d646886d8f1ae01be69c10600b8df5284c41.tar.bz2 linux-5392d646886d8f1ae01be69c10600b8df5284c41.zip |
[TIPC]: Fixed link switchover bugs
Incorporates several related fixes:
- switchover now occurs when switching from an active link to a standby link
- failure of a standby link no longer initiates switchover
- links now display correct # of received packtes following reactivation
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r-- | net/tipc/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h index 781126e084ae..a07cc79ea637 100644 --- a/net/tipc/node.h +++ b/net/tipc/node.h @@ -51,6 +51,7 @@ * @nsub: list of "node down" subscriptions monitoring node * @active_links: pointers to active links to node * @links: pointers to all links to node + * @working_links: number of working links to node (both active and standby) * @link_cnt: number of links to node * @permit_changeover: non-zero if node has redundant links to this system * @routers: bitmap (used for multicluster communication) @@ -76,6 +77,7 @@ struct node { struct link *active_links[2]; struct link *links[MAX_BEARERS]; int link_cnt; + int working_links; int permit_changeover; u32 routers[512/32]; int last_router; |