diff options
| author | Valerie Bubb Fenwick <Valerie.Fenwick@Oracle.COM> | 2010-07-06 16:37:33 -0700 |
|---|---|---|
| committer | Valerie Bubb Fenwick <Valerie.Fenwick@Oracle.COM> | 2010-07-06 16:37:33 -0700 |
| commit | b971bb4ce38136221d2db4e0e30f25745c11eb9f (patch) | |
| tree | 7e0d78cea072687670b49837309ef1eeae9682dd /usr | |
| parent | 19b779014a4ce36fb75ab60afd585f5c586af44d (diff) | |
| download | illumos-gate-b971bb4ce38136221d2db4e0e30f25745c11eb9f.tar.gz | |
6966188 missing mutex_exit call if error occurs while gathering random bytes
Diffstat (limited to 'usr')
| -rw-r--r-- | usr/src/uts/common/crypto/api/kcf_random.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/crypto/api/kcf_random.c b/usr/src/uts/common/crypto/api/kcf_random.c index 9b7c7155e9..976fd0df48 100644 --- a/usr/src/uts/common/crypto/api/kcf_random.c +++ b/usr/src/uts/common/crypto/api/kcf_random.c @@ -676,6 +676,7 @@ punt: "block random bytes are same as the previous " "one.\n"); /* discard random bytes and return error */ + mutex_exit(&rmp->rm_mag.rm_lock); return (EIO); } |
