<div dir="ltr"><div><div>Hi Folks,<br><br>We faced a deadlock caused by acquiring the same lock twice in <span style="font-family:monospace,monospace">src/modules/dmq_usrloc/usrloc_sync.c</span><br><br><span style="font-family:monospace,monospace">dmq_ul.lock_udomain(_d, &aor);<br>>> lock_get(_d->table[sl].lock);<br>get_urecord_by_ruid<br>>> lock_ulslot(_d, sl); <br>>>>> lock_get(_d->table[i].lock);</span><br><br>The attached fix will not lock until <span style="font-family:monospace,monospace">get_urecord_by_ruid</span> as returned.<br><br><br></div>Regards<br></div>Julien<br><div><div><span style="color:rgb(68,68,68);font-family:consolas,"liberation mono",courier,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(248,248,248);display:inline;float:none"></span></div></div></div>