[PATCH openEuler-5.10-LTS-SP1 12/29] ipv6: Fix crash when IPv6 is administratively disabled