netdev
[Top] [All Lists]

Re: IPSec Oops when deleting an ip address

To: Michele Bergonzoni <bergonz@xxxxxxxxxx>
Subject: Re: IPSec Oops when deleting an ip address
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2004 23:19:50 +1000
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <20040510134958.13691.qmail@mason.oriente.labs.it>
References: <20040510134958.13691.qmail@mason.oriente.labs.it>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.5.1+cvs20040105i
On Mon, May 10, 2004 at 12:51:23PM +0000, Michele Bergonzoni wrote:
> 
> CPU: 0
> EIP: 0060:[<c030415a>] Not tainted
> EFLAGS: 00010202 (2.6.5)
> EIP is at xfrm_state_gc_destroy+0x1a/0xc0

Sorry, that's probably my fault.  I don't know what I was thinking, but
doing a mod_timer on a live state without holding a lock or for that
matter not even checking whether the state is dead is definitely a bad
idea.

This patch should fix it.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

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