[PATCH 3/7] network: reorganize the check for route collisions