mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] gfp_t: net/*
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fd4f2df24b
commit
7d877f3bda
7 changed files with 8 additions and 8 deletions
|
|
@ -768,7 +768,7 @@ static int dummy_socket_getpeersec(struct socket *sock, char __user *optval,
|
|||
return -ENOPROTOOPT;
|
||||
}
|
||||
|
||||
static inline int dummy_sk_alloc_security (struct sock *sk, int family, int priority)
|
||||
static inline int dummy_sk_alloc_security (struct sock *sk, int family, gfp_t priority)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ static void superblock_free_security(struct super_block *sb)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_SECURITY_NETWORK
|
||||
static int sk_alloc_security(struct sock *sk, int family, int priority)
|
||||
static int sk_alloc_security(struct sock *sk, int family, gfp_t priority)
|
||||
{
|
||||
struct sk_security_struct *ssec;
|
||||
|
||||
|
|
@ -3380,7 +3380,7 @@ out:
|
|||
return err;
|
||||
}
|
||||
|
||||
static int selinux_sk_alloc_security(struct sock *sk, int family, int priority)
|
||||
static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority)
|
||||
{
|
||||
return sk_alloc_security(sk, family, priority);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue