netdev
[Top] [All Lists]

Re: [Fwd: [Bug 3003] New: might_sleep warning when setting up IPSec with

To: James Morris <jmorris@xxxxxxxxxx>
Subject: Re: [Fwd: [Bug 3003] New: might_sleep warning when setting up IPSec with IPCOMP]
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 9 Jul 2004 16:58:38 -0700
Cc: akpm@xxxxxxxx, niv@xxxxxxxxxx, jmorris@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, christophe@xxxxxxxx, mjbligh@xxxxxxxxxx
In-reply-to: <Xine.LNX.4.44.0407090018500.2381-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20040702143949.21a50b74.akpm@xxxxxxxx> <Xine.LNX.4.44.0407090018500.2381-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 9 Jul 2004 00:20:56 -0400 (EDT)
James Morris <jmorris@xxxxxxxxxx> wrote:

> On Fri, 2 Jul 2004, Andrew Morton wrote:
> 
> > Well no.  Those games with deflate_gfp() really need to go away. 
> > in_atomic() works OK if CONFIG_PREEMPT is enabled.  But with
> > CONFIG_PREEMPT=n, in_atomic() returns false inside spinlock.  And
> > in_atomic()'s return value is unaffected by local_irq_disable().
> > 
> > This all needs to be redesigned, sorry.
> 
> Ok, fixed.  Lazy allocation is gone.
> 
> Please apply.

Applied.

<Prev in Thread] Current Thread [Next in Thread>