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