Add EHOSTDOWN and ENETUNREACH to the list of soft errors, that shouldn't
be returned up to the caller. PR: 100172 Submitted by: "Andrew - Supernews" <andrew supernews.net> Reviewed by: rwatson, bms
This commit is contained in:
@@ -1259,8 +1259,10 @@ tcp_output(struct tcpcb *tp)
|
||||
tp->t_flags &= ~TF_TSO;
|
||||
tcp_mtudisc(tp->t_inpcb, 0);
|
||||
return (0);
|
||||
case EHOSTDOWN:
|
||||
case EHOSTUNREACH:
|
||||
case ENETDOWN:
|
||||
case ENETUNREACH:
|
||||
if (TCPS_HAVERCVDSYN(tp->t_state)) {
|
||||
tp->t_softerror = error;
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user