Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/opencrypto
Module Name: src
Committed By: riastradh
Date: Tue May 19 15:58:12 UTC 2026
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
crypto(4): Take reference _before_ releasing the lock.
Otherwise nothing ensures the object will still exist by the time we
try to take the reference.
Also guard against too many references, since this is only a 32-bit
reference count.
PR kern/60281: crypto(4): bugs in reference counting and test
To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/opencrypto/cryptodev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index