]> err.no Git - linux-2.6/blobdiff - net/xfrm/xfrm_state.c
[IPSEC]: Remove gratuitous km wake-up events on ACQUIRE
[linux-2.6] / net / xfrm / xfrm_state.c
index a00745abaad3d7db30691e4b70a5937288988881..0d07f6b92d269cde535680b59c7f9bde3614db46 100644 (file)
@@ -848,7 +848,6 @@ static struct xfrm_state *__find_acq_core(unsigned short family, u8 mode, u32 re
                hlist_add_head(&x->bydst, xfrm_state_bydst+h);
                h = xfrm_src_hash(daddr, saddr, family);
                hlist_add_head(&x->bysrc, xfrm_state_bysrc+h);
-               wake_up(&km_waitq);
 
                xfrm_state_num++;
 
@@ -1311,7 +1310,6 @@ xfrm_alloc_spi(struct xfrm_state *x, __be32 minspi, __be32 maxspi)
                h = xfrm_spi_hash(&x->id.daddr, x->id.spi, x->id.proto, x->props.family);
                hlist_add_head(&x->byspi, xfrm_state_byspi+h);
                spin_unlock_bh(&xfrm_state_lock);
-               wake_up(&km_waitq);
        }
 }
 EXPORT_SYMBOL(xfrm_alloc_spi);