ipv6: avoid unregistering inet6_dev for loopback