|
@@ -114,8 +114,9 @@ static void x25_heartbeat_expiry(unsigned long param)
|
|
if (sock_flag(sk, SOCK_DESTROY) ||
|
|
if (sock_flag(sk, SOCK_DESTROY) ||
|
|
(sk->sk_state == TCP_LISTEN &&
|
|
(sk->sk_state == TCP_LISTEN &&
|
|
sock_flag(sk, SOCK_DEAD))) {
|
|
sock_flag(sk, SOCK_DEAD))) {
|
|
|
|
+ bh_unlock_sock(sk);
|
|
x25_destroy_socket(sk);
|
|
x25_destroy_socket(sk);
|
|
- goto unlock;
|
|
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
|
|
|
|
@@ -128,7 +129,6 @@ static void x25_heartbeat_expiry(unsigned long param)
|
|
}
|
|
}
|
|
restart_heartbeat:
|
|
restart_heartbeat:
|
|
x25_start_heartbeat(sk);
|
|
x25_start_heartbeat(sk);
|
|
-unlock:
|
|
|
|
bh_unlock_sock(sk);
|
|
bh_unlock_sock(sk);
|
|
}
|
|
}
|
|
|
|
|