diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 03:30:45 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 03:30:45 +0200 |
commit | b89b8e504e89d8d3cbad36d6d1abea2b7c285c22 (patch) | |
tree | e5370d7eafc4420cbfe08bb2b9a96a16bf97262c /lib/debugobjects.c | |
parent | 4bc7ded8cb7e7e77c28a2b476ca1f3e0391b646b (diff) | |
download | kernel-crypto-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.gz kernel-crypto-b89b8e504e89d8d3cbad36d6d1abea2b7c285c22.tar.xz kernel-crypto-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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions