Skip to content

Commit

Permalink
[IPV6]: Fib dump really needs GFP_ATOMIC.
Browse files Browse the repository at this point in the history
Revert: 8225ccb

Based upon a report by Yan Zheng.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 18, 2005
1 parent 05b8b0f commit 9e147a1
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_KERNEL);
w = kmalloc(sizeof(*w), GFP_ATOMIC);
if (w == NULL)
return -ENOMEM;
RT6_TRACE("dump<%p", w);
Expand Down

0 comments on commit 9e147a1

Please sign in to comment.