err1-62: ax25_ds_idletimer_expiry() locking fix
Subsystems (2)
PATCH 1/1 err1-62: ax25_ds_idletimer_expiry() locking fix
Fix deadlock identified by the Stanford locking checker.
Signed-off-by Andrew Morton <[email protected]>
---
25-akpm/net/ax25/ax25_ds_timer.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
net/ax25/ax25_ds_timer.c renamed from net/ax25/ax25_ds_timer.c~err1-62-ax25_ds_idletimer_expiry-locking-fix +1 -1
@@ -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); } }
_
David S. Miller
AppliedQuoted 3 lines · On Fri, 02 Jul 2004 01:28:24 -0700 [email protected] wrote:
Fix deadlock identified by the Stanford locking checker.
Signed-off-by Andrew Morton <[email protected]>
Applied.