[PATCH 4/4] Handling routing loops