projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[linux-2.6-block.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);