mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -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
|
|
@ -940,7 +940,7 @@ static struct sk_buff *sock_alloc_send_pskb(struct sock *sk,
|
|||
int noblock, int *errcode)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
unsigned int gfp_mask;
|
||||
gfp_t gfp_mask;
|
||||
long timeo;
|
||||
int err;
|
||||
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@ void dccp_send_close(struct sock *sk, const int active)
|
|||
{
|
||||
struct dccp_sock *dp = dccp_sk(sk);
|
||||
struct sk_buff *skb;
|
||||
const unsigned int prio = active ? GFP_KERNEL : GFP_ATOMIC;
|
||||
const gfp_t prio = active ? GFP_KERNEL : GFP_ATOMIC;
|
||||
|
||||
skb = alloc_skb(sk->sk_prot->max_header, prio);
|
||||
if (skb == NULL)
|
||||
|
|
|
|||
|
|
@ -827,7 +827,7 @@ struct netlink_broadcast_data {
|
|||
int failure;
|
||||
int congested;
|
||||
int delivered;
|
||||
unsigned int allocation;
|
||||
gfp_t allocation;
|
||||
struct sk_buff *skb, *skb2;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue