summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-11-12 12:15:16 -0800
committerDavid S. Miller <davem@davemloft.net>2005-11-12 12:15:16 -0800
commit8225ccbaf01b459cf1e462047a51b2851e756bc1 (patch)
treea8949f6a3596a77370b5a698ff927674b830b511 /net
parenta2d7222f0f5861ce13b9308c30bd18f28ebeb583 (diff)
downloadlinux-8225ccbaf01b459cf1e462047a51b2851e756bc1.tar.bz2
[IPV6]: Fix unnecessary GFP_ATOMIC allocation in fib6 dump
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index a7a537b50595..9a71a8d1078a 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_ATOMIC);
+ w = kmalloc(sizeof(*w), GFP_KERNEL);
if (w == NULL)
return -ENOMEM;
RT6_TRACE("dump<%p", w);