[IPSEC]: Remove gratuitous km wake-up events on ACQUIRE
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Oct 2007 20:27:27 +0000 (13:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:01 +0000 (16:55 -0700)
commit75ba28c633952f7994a7117c98ae6515b58f8d30
tree5be5d5a366595d1bbbc4f890358c3405425ca6c5
parent007f0211a8872f32381f5d44becf8eb2f27f3c30
[IPSEC]: Remove gratuitous km wake-up events on ACQUIRE

There is no point in waking people up when creating/updating larval states
because they'll just go back to sleep again as larval states by definition
cannot be found by xfrm_state_find.

We should only wake them up when the larvals mature or die.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c