patch-2.3.99-pre7 linux/net/netrom/nr_loopback.c

Next file: linux/net/netrom/nr_timer.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/netrom/nr_loopback.c linux/net/netrom/nr_loopback.c
@@ -38,7 +38,7 @@
 
 static int nr_loopback_running(void)
 {
-	return (loopback_timer.prev != NULL || loopback_timer.next != NULL);
+	return timer_pending(&loopback_timer);
 }
 
 int nr_loopback_queue(struct sk_buff *skb)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)