[PATCH v3] fix the corner case of static route