Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delayed_work

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: WANG Cong <xiyou.wangcong@...>
Cc: <linux-kernel@...>, <davem@...>, <akpm@...>, <netdev@...>
Date: Wednesday, April 30, 2008 - 9:11 pm

On Thu, May 01, 2008 at 12:06:55AM +0800, WANG Cong wrote:

Because it can sleep, you must disable BH for locks that can
be taken on the softirq path as otherwise a softirq can come
in, try to take the lock again and dead-lock.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch]net/xfrm/xfrm_policy.c: replace timer with delaye..., Herbert Xu, (Wed Apr 30, 9:11 pm)