* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/skbuff.c
@ 2007-06-13 2:37 Shani Moideen
0 siblings, 0 replies; only message in thread
From: Shani Moideen @ 2007-06-13 2:37 UTC (permalink / raw)
To: jgarzik, akpm; +Cc: netdev, kernel-janitors
Replacing alloc_pages(gfp,0) with alloc_page(gfp)
in net/core/skbuff.c
Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 1422573..b923181 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1805,7 +1805,7 @@ int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
return -EFAULT;
/* allocate a new page for next frag */
- page = alloc_pages(sk->sk_allocation, 0);
+ page = alloc_page(sk->sk_allocation);
/* If alloc_page fails just return failure and caller will
* free previous allocated pages by doing kfree_skb()
--
Shani
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-13 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13 2:37 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/skbuff.c Shani Moideen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox