Skip to content

Commit

Permalink
xfrm: spin_lock() should be spin_unlock() in xfrm_state.c
Browse files Browse the repository at this point in the history
spin_lock() should be spin_unlock() in xfrm_state_walk_done().

caused by:
commit 12a169e
"ipsec: Put dumpers on the dump list"

Reported-by: Marc Milgram <[email protected]>
Signed-off-by: Chuck Ebbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Chuck Ebbert authored and davem330 committed Mar 27, 2009
1 parent 71f6f6d commit 7d0b591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/xfrm/xfrm_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7d0b591

Please sign in to comment.