patch-2.3.99-pre7 linux/net/netrom/nr_timer.c
Next file: linux/net/netsyms.c
Previous file: linux/net/netrom/nr_loopback.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu May 4 11:27:39 2000
- Orig file:
v2.3.99-pre6/linux/net/netrom/nr_timer.c
- Orig date:
Mon Jul 7 08:20:00 1997
diff -u --recursive --new-file v2.3.99-pre6/linux/net/netrom/nr_timer.c linux/net/netrom/nr_timer.c
@@ -129,8 +129,7 @@
int nr_t1timer_running(struct sock *sk)
{
- return (sk->protinfo.nr->t1timer.prev != NULL ||
- sk->protinfo.nr->t1timer.next != NULL);
+ return timer_pending(&sk->protinfo.nr->t1timer);
}
static void nr_heartbeat_expiry(unsigned long param)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)