[IPV6]: Fix dangling multicast device references.
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.
Showing
Please register or sign in to comment