projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f6f6d
)
xfrm: spin_lock() should be spin_unlock() in xfrm_state.c
author
Chuck Ebbert
<
[email protected]
>
Fri, 27 Mar 2009 07:22:01 +0000
(
00:22
-0700)
committer
David S. Miller
<
[email protected]
>
Fri, 27 Mar 2009 07:23:04 +0000
(
00:23
-0700)
spin_lock() should be spin_unlock() in xfrm_state_walk_done().
caused by:
commit
12a169e7d8f4b1c95252d8b04ed0f1033ed7cfe2
"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]
>
net/xfrm/xfrm_state.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_state.c
b/net/xfrm/xfrm_state.c
index 62a5425cc6aa1c83a386f2123281d4ccc07c9cdc..82271720d970f25005015cc73728eda7fc5bf448 100644
(file)
--- a/
net/xfrm/xfrm_state.c
+++ b/
net/xfrm/xfrm_state.c
@@
-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_
un
lock_bh(&xfrm_state_lock);
}
EXPORT_SYMBOL(xfrm_state_walk_done);