ip6: make sure IPv6 addrconf is cleaned up correctly
authorDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 22:20:16 +0000 (15:20 -0700)
committerDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 22:20:16 +0000 (15:20 -0700)
src/nm-device.c

index b285baa..c76c9f5 100644 (file)
@@ -730,6 +730,7 @@ addrconf6_cleanup (NMDevice *self)
                priv->ip6_config_changed_sigid = 0;
        }
 
+       nm_ip6_manager_cancel_addrconf (priv->ip6_manager, nm_device_get_ip_ifindex (self));
        g_object_unref (priv->ip6_manager);
        priv->ip6_manager = NULL;
 }