| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq |
| From: | Patrick McHardy <kaber@xxxxxxxxx> |
| Date: | Thu, 23 Sep 2004 06:10:48 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 |
This patch fixes an unbalanced spin_unlock_bh in __xfrm_find_acq_byseq left over from the larval state SA fix. Regards Patrick # This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/23 06:05:52+02:00 kaber@xxxxxxxxxxxx
# [XFRM]: Fix unbalanced spin_unlock_bh
#
# Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
#
# net/xfrm/xfrm_state.c
# 2004/09/23 06:05:25+02:00 kaber@xxxxxxxxxxxx +0 -1
# [XFRM]: Fix unbalanced spin_unlock_bh
#
# Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
#
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;
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: msleep changes, Margit Schubert-While |
|---|---|
| Next by Date: | [IPv4] Fix thinko in fib_find_alias, Herbert Xu |
| Previous by Thread: | Re: msleep changes, Margit Schubert-While |
| Next by Thread: | Re: [PATCH 2.6]: fix unbalances spin_unlock_bh in __xfrm_find_acq_byseq, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |