On Tue, Nov 28, 2017 at 01:43:52PM +0100, Frederic Lecaille wrote: > On 11/28/2017 01:29 PM, Frederic Lecaille wrote: > There is a "/* fall through */" between PEER_SESS_ST_CONNECT and > PEER_SESS_ST_GETSTATUS cases in peer I/O handler code, so with a lock which > may be taken two times ;).
>From what I'm seeing it cannot take it twice because it only grabs the lock when curpeer switches from null to non-null. Willy