Searched refs:min_errors (Results 1 – 1 of 1) sorted by relevance
184 int min_errors = -1; in sctp_find_alternate_net() local219 if (min_errors == -1) { in sctp_find_alternate_net()220 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()222 } else if (mnet->error_count + 1 < min_errors) { in sctp_find_alternate_net()223 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()225 } else if (mnet->error_count + 1 == min_errors in sctp_find_alternate_net()228 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()232 if (min_errors == -1) { in sctp_find_alternate_net()233 min_errors = mnet->error_count; in sctp_find_alternate_net()235 } else if (mnet->error_count < min_errors) { in sctp_find_alternate_net()[all …]