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