| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [patch 1/1] err1-62: ax25_ds_idletimer_expiry() locking fix |
| From: | akpm@xxxxxxxx |
| Date: | Fri, 02 Jul 2004 01:28:24 -0700 |
| Cc: | netdev@xxxxxxxxxxx, akpm@xxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Fix deadlock identified by the Stanford locking checker.
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---
25-akpm/net/ax25/ax25_ds_timer.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN net/ax25/ax25_ds_timer.c~err1-62-ax25_ds_idletimer_expiry-locking-fix
net/ax25/ax25_ds_timer.c
--- 25/net/ax25/ax25_ds_timer.c~err1-62-ax25_ds_idletimer_expiry-locking-fix
2004-07-02 01:27:07.504239472 -0700
+++ 25-akpm/net/ax25/ax25_ds_timer.c 2004-07-02 01:27:11.824582680 -0700
@@ -180,7 +180,7 @@ void ax25_ds_idletimer_expiry(ax25_cb *a
ax25->sk->sk_state_change(ax25->sk);
sock_set_flag(ax25->sk, SOCK_DEAD);
}
- bh_lock_sock(ax25->sk);
+ bh_unlock_sock(ax25->sk);
}
}
_
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch 1/1] err1-28: rose_route locking fix, akpm |
|---|---|
| Next by Date: | [patch 1/1] err1-67: lapb_unregister() locking fix, akpm |
| Previous by Thread: | [patch 1/1] err1-28: rose_route locking fix, akpm |
| Next by Thread: | Re: [patch 1/1] err1-62: ax25_ds_idletimer_expiry() locking fix, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |