]> git.neil.brown.name Git - history.git/commitdiff
[IPV6]: Deactivate timers properly in ipv6_mc_destroy_dev().
authorJan Oravec <jan.oravec@6com.sk>
Tue, 7 Oct 2003 00:44:21 +0000 (17:44 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Tue, 7 Oct 2003 00:44:21 +0000 (17:44 -0700)
net/ipv6/mcast.c

index 006c480f9d618ec86c6f54c301fdc395e3a21a42..40d6e9d9b695fc408f3f92747f0fd616de16fb8f 100644 (file)
@@ -2029,6 +2029,9 @@ void ipv6_mc_destroy_dev(struct inet6_dev *idev)
        struct ifmcaddr6 *i;
        struct in6_addr maddr;
 
+       /* Deactivate timers */
+       ipv6_mc_down(idev);
+
        /* Delete all-nodes address. */
        ipv6_addr_all_nodes(&maddr);