Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d0b591c authored by Chuck Ebbert's avatar Chuck Ebbert Committed by David S. Miller
Browse files

xfrm: spin_lock() should be spin_unlock() in xfrm_state.c



spin_lock() should be spin_unlock() in xfrm_state_walk_done().

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

Reported-by: default avatarMarc Milgram <mmilgram@redhat.com>
Signed-off-by: default avatarChuck Ebbert <cebbert@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 71f6f6df
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1615,7 +1615,7 @@ void xfrm_state_walk_done(struct xfrm_state_walk *walk)


	spin_lock_bh(&xfrm_state_lock);
	spin_lock_bh(&xfrm_state_lock);
	list_del(&walk->all);
	list_del(&walk->all);
	spin_lock_bh(&xfrm_state_lock);
	spin_unlock_bh(&xfrm_state_lock);
}
}
EXPORT_SYMBOL(xfrm_state_walk_done);
EXPORT_SYMBOL(xfrm_state_walk_done);