Searched refs:min_errors (Results 1 – 1 of 1) sorted by relevance
186 int min_errors = -1; in sctp_find_alternate_net() local221 if (min_errors == -1) { in sctp_find_alternate_net()222 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()224 } else if (mnet->error_count + 1 < min_errors) { in sctp_find_alternate_net()225 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()227 } else if (mnet->error_count + 1 == min_errors in sctp_find_alternate_net()230 min_errors = mnet->error_count + 1; in sctp_find_alternate_net()234 if (min_errors == -1) { in sctp_find_alternate_net()235 min_errors = mnet->error_count; in sctp_find_alternate_net()237 } else if (mnet->error_count < min_errors) { in sctp_find_alternate_net()[all …]