[PATCH 5.10 010/121] net: nexthop: fix null pointer dereference when IPv6 is not enabled