summaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-25 03:30:45 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-25 03:30:45 +0200
commitb89b8e504e89d8d3cbad36d6d1abea2b7c285c22 (patch)
treee5370d7eafc4420cbfe08bb2b9a96a16bf97262c /utils.h
parent4bc7ded8cb7e7e77c28a2b476ca1f3e0391b646b (diff)
downloadcryptodev-linux-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.gz
cryptodev-linux-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.xz
cryptodev-linux-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.zip
Unpublish session ID at start of ncr_session_final.
This means that ncr_session_final() can't be called on one ID twice, ensuring that the ID is still unique throughout the runtime of ncr_session_final(). (Note that this is not guaranteed for ncr_session_update(): a concurrent thread can call ncr_session_final() on the ID and reuse it before ncr_session_update() finishes.)
Diffstat (limited to 'utils.h')
0 files changed, 0 insertions, 0 deletions