public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c
@ 2007-06-12  4:58 Shani Moideen
  0 siblings, 0 replies; only message in thread
From: Shani Moideen @ 2007-06-12  4:58 UTC (permalink / raw)
  To: davem, kuznet, pekkas, jmorris, yoshfuji; +Cc: netdev, kernel-janitors

Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c

Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----

diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index f508171..1d27779 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -1291,7 +1291,7 @@ alloc_new_skb:
 			} else if(i < MAX_SKB_FRAGS) {
 				if (copy > PAGE_SIZE)
 					copy = PAGE_SIZE;
-				page = alloc_pages(sk->sk_allocation, 0);
+				page = alloc_page(sk->sk_allocation);
 				if (page == NULL) {
 					err = -ENOMEM;
 					goto error;


Regards,
Shani 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-12  5:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12  4:58 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.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