locking typo in xfrm_state.c
Subsystems (3)
PATCH 1/1 locking typo in xfrm_state.c
I'm not sure who to send this patch to.
There is a double lock instead of an unlock.
Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested.
regards,
dan carpenter
Signed-off-by Dan Carpenter <[email protected]>
net/xfrm/xfrm_state.c +1 -1
@@ -1615,7 +1615,7 @@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);
David Miller
maintainerFrom: Dan Carpenter <[email protected]>
Date: Wed, 8 Apr 2009 13:45:48 +0300 (EAT)
Quoted 5 lines
I'm not sure who to send this patch to.
There is a double lock instead of an unlock.
Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested.
Already fixed in mainline and -stable.