[Top] [All Lists]

Re: RFC: IPSEC patch 0 for netlink events

To: Patrick McHardy <kaber@xxxxxxxxx>
Subject: Re: RFC: IPSEC patch 0 for netlink events
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 09:43:35 +1000
Cc: hadi@xxxxxxxxxx, Masahide NAKAMURA <nakam@xxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev <netdev@xxxxxxxxxxx>
In-reply-to: <>
References: <1111864971.1092.904.camel@jzny.localdomain> <> <1111867875.1089.915.camel@jzny.localdomain> <> <1111950449.1089.938.camel@jzny.localdomain> <>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Mon, Mar 28, 2005 at 11:23:19PM +0200, Patrick McHardy wrote:
> To answer this question: no. xfrm_state_lock can be nested in
> x->lock, but not the other way around. If you want to avoid that

That's true for now but it's something that I'd like to change for
2.6.13.  We should use the refcnt as much as possible and modify
the locking so that the state lock is only used to guard the state
of the state :)

> the state changes below you, you could notify before insertion.


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

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