[PATCH] gfp_t: net/*

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Al Viro 2005-10-21 03:20:43 -04:00 • committed by Linus Torvalds
commit 7d877f3bda
7 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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;
};