[PATCH 5/6] network: use erp_cache_check_identity