Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c
Subsystems (4)
PATCH 1/1 Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c
Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c
Signed-off-by Shani Moideen <[email protected]>
----
net/ipv6/ip6_output.c +1 -1
@@ -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