[PATCH 4.9 30/41] ipv4: add sanity checks in ipv4_link_failure()