ISDN: hisax, fix lock imbalance
PATCH 1/1 ISDN: hisax, fix lock imbalance
Add omittted unlocks to 2 functions.
Signed-off-by Jiri Slaby <[email protected]>
--- 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
@@ -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
@@ -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