You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2016/05/06 20:41:27 UTC

qpid-dispatch git commit: DISPATCH-312 - Modified qdr_unmap_destination_CT to decrement the cost_epoch

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 99d0ed9bd -> 438ffa121


DISPATCH-312 - Modified qdr_unmap_destination_CT to decrement the cost_epoch


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/438ffa12
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/438ffa12
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/438ffa12

Branch: refs/heads/master
Commit: 438ffa121cffbaca702e066ad2aacb9f93b87c63
Parents: 99d0ed9
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Fri May 6 16:41:10 2016 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Fri May 6 16:41:10 2016 -0400

----------------------------------------------------------------------
 src/router_core/route_tables.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/438ffa12/src/router_core/route_tables.c
----------------------------------------------------------------------
diff --git a/src/router_core/route_tables.c b/src/router_core/route_tables.c
index d8fd860..d80930b 100644
--- a/src/router_core/route_tables.c
+++ b/src/router_core/route_tables.c
@@ -625,6 +625,7 @@ static void qdr_unmap_destination_CT(qdr_core_t *core, qdr_action_t *action, boo
 
         qd_bitmask_clear_bit(addr->rnodes, router_maskbit);
         rnode->ref_count--;
+        addr->cost_epoch--;
 
         //
         // TODO - If this affects a waypoint, create the proper side effects


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org