diff options
author | glebius <glebius@FreeBSD.org> | 2007-02-28 12:47:49 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2007-02-28 12:47:49 +0000 |
commit | 5c82cce39333a5d6bce42d92a11349c90bc0027f (patch) | |
tree | ba95cdfadd79e62e4d0afac6b5250770a0136d02 | |
parent | 481c8d8b0ba0478c1e817b9518acf7c1a389bad2 (diff) | |
download | FreeBSD-src-5c82cce39333a5d6bce42d92a11349c90bc0027f.zip FreeBSD-src-5c82cce39333a5d6bce42d92a11349c90bc0027f.tar.gz |
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
-rw-r--r-- | sys/netinet/tcp_output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 85f149c..ca21267 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1259,8 +1259,10 @@ out: 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); |