projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg80211: wext: clear sinfo struct before calling driver
[firefly-linux-kernel-4.4.55.git]
/
net
/
dns_resolver
/
dns_query.c
diff --git
a/net/dns_resolver/dns_query.c
b/net/dns_resolver/dns_query.c
index dd8696a3dbec9b907cc9fa3744a8bf37e8efca93..39d2c39bdf872713e890792914597f29a4ef53ae 100644
(file)
--- a/
net/dns_resolver/dns_query.c
+++ b/
net/dns_resolver/dns_query.c
@@
-129,6
+129,7
@@
int dns_query(const char *type, const char *name, size_t namelen,
}
down_read(&rkey->sem);
+ set_bit(KEY_FLAG_ROOT_CAN_INVAL, &rkey->flags);
rkey->perm |= KEY_USR_VIEW;
ret = key_validate(rkey);