• David S. Miller's avatar
    [IPV6]: Fix dangling multicast device references. · d7e6c32e
    David S. Miller authored
    When addrconf_ifdown() calls ipv6_mc_destroy_dev(), it has NULL'd
    out dev->ip6_ptr, which means all in6_dev_get() calls will fail.
    So pass an explicit idev into ipv6_dev_mc_dec() in this case so
    that we don't leak the all-nodes multicast address reference to the
    idev.
    d7e6c32e
mcast.c 56.1 KB