projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://selinuxproject.org/~jmorris/linux-security
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
crypto
/
crypto_user.c
diff --git
a/crypto/crypto_user.c
b/crypto/crypto_user.c
index
3ba6ef5
..
16f8693
100644
(file)
--- a/
crypto/crypto_user.c
+++ b/
crypto/crypto_user.c
@@
-382,7
+382,7
@@
static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
type -= CRYPTO_MSG_BASE;
link = &crypto_dispatch[type];
- if (
security_netlink_recv(skb,
CAP_NET_ADMIN))
+ if (
!capable(
CAP_NET_ADMIN))
return -EPERM;
if ((type == (CRYPTO_MSG_GETALG - CRYPTO_MSG_BASE) &&