Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KEYS: Load key expiry time atomically in keyring_search_iterator()
Similar to the case for key_validate(), we should load the key ->expiry once atomically in keyring_search_iterator(), since it can be changed concurrently with the flags whenever the key semaphore isn't held. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: David Howells <[email protected]>
- Loading branch information