Thread (2 messages) 2 messages, 2 authors, 2003-11-19

Re: MLDv1 /proc/net/igmp6 timer printing [PATCH]

flat view

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-11-19 08:05:00

In article [ref] (at Wed, 19 Nov 2003 00:59:20 -0700), David Stevens [off-list ref] says:
Ok, here's the revised patch.
please fix ipv4 as well.

Index: net/ipv4/igmp.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux26/net/ipv4/igmp.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- net/ipv4/igmp.c	9 Oct 2003 02:49:24 -0000	1.20
+++ net/ipv4/igmp.c	19 Nov 2003 07:11:46 -0000	1.21
@@ -2215,7 +2215,7 @@
 		seq_printf(seq,
 			   "\t\t\t\t%08lX %5d %d:%08lX\t\t%d\n",
 			   im->multiaddr, im->users,
-			   im->tm_running, im->timer.expires-jiffies, im->reporter);
+			   im->tm_running, jiffies_to_clock_t(im->timer.expires-jiffies), im->reporter);
 	}
 	return 0;
 }
-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help