[PATCH 5.4 15/34] ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr