ChugR opened a new pull request #1294:
URL: https://github.com/apache/qpid-dispatch/pull/1294
The two locks are taken in both orders.
* entity_cache first, connector second is routinely used by management
entity updates in a pattern shared by all entities.
* connector first, entity_cache second is used only when a connector
creates or deletes an associated connection. The allocation and
disposal of the connection causes an implicit entity_cache lock.
The fix is to avoid the connector - entity_cache lock order by allocating
the connection before taking the connector lock and by freeing the
connection after releasing the connector lock.
This patch also corrects an improper free call in a failure path.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]