patch-2.3.99-pre7 linux/net/rose/rose_link.c

Next file: linux/net/rose/rose_loopback.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/rose/rose_link.c linux/net/rose/rose_link.c
@@ -76,12 +76,12 @@
 
 int rose_ftimer_running(struct rose_neigh *neigh)
 {
-	return (neigh->ftimer.prev != NULL || neigh->ftimer.next != NULL);
+	return timer_pending(&neigh->ftimer);
 }
 
 int rose_t0timer_running(struct rose_neigh *neigh)
 {
-	return (neigh->t0timer.prev != NULL || neigh->t0timer.next != NULL);
+	return timer_pending(&neigh->t0timer);
 }
 
 static void rose_ftimer_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)