Subject: Re: [IPSEC]: Kill nested read lock by deleting xfrm_init_tempsel

From: "David S. Miller" <[email-masked]>
Date: Fri, 1 Apr 2005 17:20:07 -0800

On Sat, 2 Apr 2005 10:49:56 +1000
Herbert Xu <[email-masked]> wrote:

> The second patch creates a dead lock since it does a nested read
> lock.  The solution is simply to get rid of xfrm_init_tempsel
> and call the afinfo version directly.

read locks nest even in the presence of pending writers