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 2017/11/06 15:40:08 UTC

qpid-dispatch git commit: DISPATCH-767 - Backed out previous commit that was stalling links.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/1.0.x 413526897 -> b9ce5b4a2


DISPATCH-767 - Backed out previous commit that was stalling links.


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

Branch: refs/heads/1.0.x
Commit: b9ce5b4a2c8f0634a703ef9e1e4558a2ae9cdf52
Parents: 4135268
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Mon Nov 6 10:39:48 2017 -0500
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Mon Nov 6 10:39:48 2017 -0500

----------------------------------------------------------------------
 src/router_core/forwarder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/b9ce5b4a/src/router_core/forwarder.c
----------------------------------------------------------------------
diff --git a/src/router_core/forwarder.c b/src/router_core/forwarder.c
index 15a75d8..72b2dee 100644
--- a/src/router_core/forwarder.c
+++ b/src/router_core/forwarder.c
@@ -200,9 +200,9 @@ void qdr_forward_deliver_CT(qdr_core_t *core, qdr_link_t *out_link, qdr_delivery
         work->work_type = QDR_LINK_WORK_DELIVERY;
         work->value     = 1;
         DEQ_INSERT_TAIL(out_link->work_list, work);
-        qdr_add_link_ref(&out_link->conn->links_with_work, out_link, QDR_LINK_LIST_CLASS_WORK);
     }
 
+    qdr_add_link_ref(&out_link->conn->links_with_work, out_link, QDR_LINK_LIST_CLASS_WORK);
     out_dlv->link_work = work;
     sys_mutex_unlock(out_link->conn->work_lock);
 


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