Re: [PATCH v2] net: ipv6: fib: don't sleep inside atomic lock
From: David Miller
Date: Fri Aug 22 2014 - 13:55:42 EST
From: Benjamin Block <bebl@xxxxxxxxxx>
Date: Thu, 21 Aug 2014 19:37:48 +0200
> The function fib6_commit_metrics() allocates a piece of memory in mode
> GFP_KERNEL while holding an atomic lock from higher up in the stack, in
> the function __ip6_ins_rt(). This produces the following BUG:
...
> Fixing this by replacing the mode GFP_KERNEL with GFP_ATOMIC.
>
> Signed-off-by: Benjamin Block <bebl@xxxxxxxxxx>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/