From: David S. Miller Date: Fri, 18 Nov 2005 00:52:51 +0000 (-0800) Subject: [IPV6]: Fib dump really needs GFP_ATOMIC. X-Git-Tag: v2.6.15-rc2~39^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e147a1cfce5ec6308b024abe425d5b4e1884a03;p=platform%2Fkernel%2Flinux-exynos.git [IPV6]: Fib dump really needs GFP_ATOMIC. Revert: 8225ccbaf01b459cf1e462047a51b2851e756bc1 Based upon a report by Yan Zheng. Signed-off-by: David S. Miller --- diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 9a71a8d..a7a537b 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1732,7 +1732,7 @@ int inet6_dump_fib(struct sk_buff *skb, struct netlink_callback *cb) /* * 2. allocate and initialize walker. */ - w = kmalloc(sizeof(*w), GFP_KERNEL); + w = kmalloc(sizeof(*w), GFP_ATOMIC); if (w == NULL) return -ENOMEM; RT6_TRACE("dump<%p", w);