* [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq
@ 2004-09-23 4:10 Patrick McHardy
2004-09-23 20:23 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2004-09-23 4:10 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
This patch fixes an unbalanced spin_unlock_bh in
__xfrm_find_acq_byseq left over from the larval
state SA fix.
Regards
Patrick
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 765 bytes --]
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/23 06:05:52+02:00 kaber@coreworks.de
# [XFRM]: Fix unbalanced spin_unlock_bh
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
# net/xfrm/xfrm_state.c
# 2004/09/23 06:05:25+02:00 kaber@coreworks.de +0 -1
# [XFRM]: Fix unbalanced spin_unlock_bh
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
diff -Nru a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
--- a/net/xfrm/xfrm_state.c 2004-09-23 06:07:23 +02:00
+++ b/net/xfrm/xfrm_state.c 2004-09-23 06:07:23 +02:00
@@ -592,7 +592,6 @@
list_for_each_entry(x, xfrm_state_bydst+i, bydst) {
if (x->km.seq == seq) {
xfrm_state_hold(x);
- spin_unlock_bh(&xfrm_state_lock);
return x;
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq
2004-09-23 4:10 [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq Patrick McHardy
@ 2004-09-23 20:23 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-09-23 20:23 UTC (permalink / raw)
To: Patrick McHardy; +Cc: netdev
On Thu, 23 Sep 2004 06:10:48 +0200
Patrick McHardy <kaber@trash.net> wrote:
> This patch fixes an unbalanced spin_unlock_bh in
> __xfrm_find_acq_byseq left over from the larval
> state SA fix.
Good catch, patch applied.
Thanks Patrick.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-23 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23 4:10 [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq Patrick McHardy
2004-09-23 20:23 ` David S. Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.