diff options
author | Thomas Graf <tgraf@suug.ch> | 2005-11-12 15:15:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-12 15:15:16 -0500 |
commit | 8225ccbaf01b459cf1e462047a51b2851e756bc1 (patch) | |
tree | a8949f6a3596a77370b5a698ff927674b830b511 /net | |
parent | a2d7222f0f5861ce13b9308c30bd18f28ebeb583 (diff) |
[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.c | 2 |
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) | |||
1732 | /* | 1732 | /* |
1733 | * 2. allocate and initialize walker. | 1733 | * 2. allocate and initialize walker. |
1734 | */ | 1734 | */ |
1735 | w = kmalloc(sizeof(*w), GFP_ATOMIC); | 1735 | w = kmalloc(sizeof(*w), GFP_KERNEL); |
1736 | if (w == NULL) | 1736 | if (w == NULL) |
1737 | return -ENOMEM; | 1737 | return -ENOMEM; |
1738 | RT6_TRACE("dump<%p", w); | 1738 | RT6_TRACE("dump<%p", w); |