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

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
...@@ -1615,7 +1615,7 @@ void xfrm_state_walk_done(struct xfrm_state_walk *walk) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment