[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140822.105537.779696105209269317.davem@davemloft.net>
Date: Fri, 22 Aug 2014 10:55:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bebl@...eta.org
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, hannes@...hat.com
Subject: Re: [PATCH v2] net: ipv6: fib: don't sleep inside atomic lock
From: Benjamin Block <bebl@...eta.org>
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@...eta.org>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists