Merge branch 'rusty-cpumask-parisc' into parisc
[pandora-kernel.git] / net / xfrm / xfrm_state.c
index 62a5425..8227172 100644 (file)
@@ -1615,7 +1615,7 @@ void xfrm_state_walk_done(struct xfrm_state_walk *walk)
 
        spin_lock_bh(&xfrm_state_lock);
        list_del(&walk->all);
-       spin_lock_bh(&xfrm_state_lock);
+       spin_unlock_bh(&xfrm_state_lock);
 }
 EXPORT_SYMBOL(xfrm_state_walk_done);