[PATCH][2.5] init_timer for mcast.c/mca_timer

From: Zwane Mwaikambo (zwane@holomorphy.com)
Date: Tue Nov 12 2002 - 20:59:52 EST


Index: linux-2.5.47/net/ipv6/mcast.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.47/net/ipv6/mcast.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mcast.c
--- linux-2.5.47/net/ipv6/mcast.c 11 Nov 2002 03:59:07 -0000 1.1.1.1
+++ linux-2.5.47/net/ipv6/mcast.c 12 Nov 2002 23:22:44 -0000
@@ -298,6 +298,7 @@
         memset(mc, 0, sizeof(struct ifmcaddr6));
         mc->mca_timer.function = igmp6_timer_handler;
         mc->mca_timer.data = (unsigned long) mc;
+ init_timer(&mc->mca_timer);
 
         memcpy(&mc->mca_addr, addr, sizeof(struct in6_addr));
         mc->idev = idev;

-- 
function.linuxpower.ca

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:27 EST