ipv4: save cpu cycles from check_leaf()