[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1181702270.2282.6.camel@shani-win>
Date: Wed, 13 Jun 2007 08:07:50 +0530
From: Shani Moideen <shani.moideen@...ro.com>
To: jgarzik@...ox.com, akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, kernel-janitors@...ts.osdl.org
Subject: [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
net/core/skbuff.c
Replacing alloc_pages(gfp,0) with alloc_page(gfp)
in net/core/skbuff.c
Signed-off-by: Shani Moideen <shani.moideen@...ro.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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists