aboutsummaryrefslogtreecommitdiff
path: root/sys/crypto/via
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2008-08-09 19:43:44 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2008-08-09 19:43:44 +0000
commiteadca5921d0276bc86a90c355c600e3d8f088352 (patch)
tree3d132c0c975095ea38139f647e9a7c98ab827ab5 /sys/crypto/via
parent7d8b54b5b51a5dbfcfdc25f1223511fdaebe972d (diff)
downloadsrc-eadca5921d0276bc86a90c355c600e3d8f088352.tar.gz
src-eadca5921d0276bc86a90c355c600e3d8f088352.zip
Notes
Diffstat (limited to 'sys/crypto/via')
-rw-r--r--sys/crypto/via/padlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/crypto/via/padlock.c b/sys/crypto/via/padlock.c
index 9818f3e0522d..c8e398d6809e 100644
--- a/sys/crypto/via/padlock.c
+++ b/sys/crypto/via/padlock.c
@@ -272,6 +272,7 @@ padlock_freesession(device_t dev, uint64_t tid)
padlock_hash_free(ses);
bzero(ses, sizeof(*ses));
ses->ses_used = 0;
+ ses->ses_id = sid;
TAILQ_INSERT_HEAD(&sc->sc_sessions, ses, ses_next);
rw_wunlock(&sc->sc_sessions_lock);
return (0);