diff options
Diffstat (limited to 'net/x25/x25_timer.c')
-rw-r--r-- | net/x25/x25_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/x25/x25_timer.c b/net/x25/x25_timer.c index 71ff3088f6fe..2af190dc5b01 100644 --- a/net/x25/x25_timer.c +++ b/net/x25/x25_timer.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * This is ALPHA test software. This code may break your machine, | 4 | * This is ALPHA test software. This code may break your machine, |
5 | * randomly fail to work with new releases, misbehave and/or generally | 5 | * randomly fail to work with new releases, misbehave and/or generally |
6 | * screw up. It might even work. | 6 | * screw up. It might even work. |
7 | * | 7 | * |
8 | * This code REQUIRES 2.1.15 or higher | 8 | * This code REQUIRES 2.1.15 or higher |
9 | * | 9 | * |
@@ -99,8 +99,8 @@ static void x25_heartbeat_expiry(unsigned long param) | |||
99 | { | 99 | { |
100 | struct sock *sk = (struct sock *)param; | 100 | struct sock *sk = (struct sock *)param; |
101 | 101 | ||
102 | bh_lock_sock(sk); | 102 | bh_lock_sock(sk); |
103 | if (sock_owned_by_user(sk)) /* can currently only occur in state 3 */ | 103 | if (sock_owned_by_user(sk)) /* can currently only occur in state 3 */ |
104 | goto restart_heartbeat; | 104 | goto restart_heartbeat; |
105 | 105 | ||
106 | switch (x25_sk(sk)->state) { | 106 | switch (x25_sk(sk)->state) { |