Skip to content

Commit

Permalink
[IPV6]: Fix unnecessary GFP_ATOMIC allocation in fib6 dump
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
tgraf authored and davem330 committed Nov 12, 2005
1 parent a2d7222 commit 8225ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8225ccb

Please sign in to comment.