[PATCH 4.18 41/44] ucma: fix a use-after-free in ucma_resolve_ip()