projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx4_core: Correcly update the mtt's offset in the MR re-reg flow
[cascardo/linux.git]
/
security
/
keys
/
request_key.c
diff --git
a/security/keys/request_key.c
b/security/keys/request_key.c
index
bb4337c
..
0c7aea4
100644
(file)
--- a/
security/keys/request_key.c
+++ b/
security/keys/request_key.c
@@
-516,6
+516,8
@@
struct key *request_key_and_link(struct key_type *type,
.match_data.cmp = key_default_cmp,
.match_data.raw_data = description,
.match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT,
+ .flags = (KEYRING_SEARCH_DO_STATE_CHECK |
+ KEYRING_SEARCH_SKIP_EXPIRED),
};
struct key *key;
key_ref_t key_ref;