Ensure key index is ready before processing first packet
authorJacob Bachmeyer <jcb@gnu.org>
Fri, 4 Aug 2023 22:17:56 +0000 (17:17 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Fri, 4 Aug 2023 22:17:56 +0000 (17:17 -0500)
commit6d69ba64f289dba700778fe4df2146ef5d7dbb2e
tree6faad45db25435fded52b4b3bec14f084ae9e9be
parent1bb47be0dec1343b6305049d63e945f123f23aed
Ensure key index is ready before processing first packet

The key index is never detached, so all packets after the first were
always processed with the index lock held.  Further, the index is needed
to send a report, so ensuring that it is available before processing the
first packet avoids a potential lost report if it cannot be attached.
gatekeeper.pl