]> err.no Git - linux-2.6/commitdiff
[IPV6]: Fix unnecessary GFP_ATOMIC allocation in fib6 dump
authorThomas Graf <tgraf@suug.ch>
Sat, 12 Nov 2005 20:15:16 +0000 (12:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Nov 2005 20:15:16 +0000 (12:15 -0800)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c

index a7a537b5059537bb7d7fd5291323277333c22cb7..9a71a8d1078a248165378073058e47f2ff4ab1d6 100644 (file)
@@ -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);