Yeah, the locking doesn't add up either.

Btw, I've updated that suricata locking google doc, can you review my changes for this patch set?