Skip to contentSkip to conversation

ISDN: hisax, fix lock imbalance

PATCH New Jiri Slaby 1 participant 1 message Jun 21, 2009

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 ISDN: hisax, fix lock imbalance

Add omittted unlocks to 2 functions.

---
 drivers/isdn/hisax/amd7930_fn.c |    1 +
 drivers/isdn/hisax/icc.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/isdn/hisax/amd7930_fn.c +1 -0
index 341faf5..48f139c 100644
@@ -596,6 +596,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg)
 				if (cs->debug & L1_DEB_WARN)
 					debugl1(cs, "Amd7930: l1hw: l2l1 tx_skb exist this shouldn't happen");
 				skb_queue_tail(&cs->sq, skb);
+				spin_unlock_irqrestore(&cs->lock, flags);
 				break;
 			}
 			if (cs->debug & DEB_DLOG_HEX)
drivers/isdn/hisax/icc.c +1 -0
index 682cac3..fd1aa40 100644
@@ -470,6 +470,7 @@ ICC_l1hw(struct PStack *st, int pr, void *arg)
 				if (cs->debug & L1_DEB_WARN)
 					debugl1(cs, " l2l1 tx_skb exist this shouldn't happen");
 				skb_queue_tail(&cs->sq, skb);
+				spin_unlock_irqrestore(&cs->lock, flags);
 				break;
 			}
 			if (cs->debug & DEB_DLOG_HEX)
Signature · 1 line
1.6.3.2