]> Pileus Git - ~andy/linux/commit
tipc: Add monitoring of number of nodes discovered by bearer
authorAllan Stephens <Allan.Stephens@windriver.com>
Fri, 22 Apr 2011 00:05:25 +0000 (19:05 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 10 May 2011 20:04:01 +0000 (16:04 -0400)
commit1209966cd5d2ec7f89ad2ed58a6a342aa8ea8712
tree9de9cbaf37a33ae5be16f3d57eb10f9b3aaef216
parent691a62075922b43b2b03def87ebcfdfbf0cd2ed8
tipc: Add monitoring of number of nodes discovered by bearer

Augments TIPC's discovery object to track the number of neighboring nodes
having an active link to the associated bearer.

This means tipc_disc_update_link_req() becomes either one of:

       tipc_disc_add_dest()
or:
       tipc_disc_remove_dest()

depending on the code flow direction of things.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c
net/tipc/discover.c
net/tipc/discover.h