[PATCH openEuler-5.10 20/20] ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr