Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e147a1c authored by David S. Miller's avatar David S. Miller
Browse files

[IPV6]: Fib dump really needs GFP_ATOMIC.



Revert: 8225ccba

Based upon a report by Yan Zheng.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 05b8b0fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);