[Top] [All Lists]

[IPSEC] Missing unlock in policy timer

To: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
Subject: [IPSEC] Missing unlock in policy timer
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2004 21:06:26 +1000
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040523i
Hi Dave:

This is one of those cases where the cure is worse than the disease :)
I added read locks in the policy timer to close an unlikely race, but
I missed an unlock on the expire path which leads to all sort of weird

I'll stay away from the timers for a while :)

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:

Attachment: p
Description: Text document

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