<div dir="ltr"><div><div><div>We found that initial request callbacks are called with a lock on the tm hash row so any callback that generates a new transaction, in our example the pua module, can generate a hash for the new transaction with the same key as the locked row thus creating a deadlock.<br>
<br></div>We modified the code to create a lock on the cell when t_newtran() calls new_t and release the hash lock within new_t so that the callbacks are called with a cell lock, not a row lock.  This looks l<br><br></div>
Please review the attached patch.  The patch was made on a 1.6.4 code base.  Let me know if you have any thoughts or concerns.<br><br></div>-Eric<br></div>