xfrm: spin_lock() should be spin_unlock() in xfrm_state.c
[ Upstream commit7d0b591c65] spin_lock() should be spin_unlock() in xfrm_state_walk_done(). caused by: commit12a169e7d8"ipsec: Put dumpers on the dump list" Reported-by: Marc Milgram <mmilgram@redhat.com> Signed-off-by: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
This commit is contained in:
committed by
Chris Wright
parent
c8289b1f3f
commit
ce2a2dc252
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user