diff options
author | andre <andre@FreeBSD.org> | 2003-11-12 19:38:01 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2003-11-12 19:38:01 +0000 |
commit | 6c57f18a597a2b5c5070aa4e62033aa33efc4f1d (patch) | |
tree | 9d40657e3f310ba115d26e38b820ce98795392a0 /sys/netinet/tcp_input.c | |
parent | 25bfb1b0f93e548382a891ab6b94778f621053cb (diff) | |
download | FreeBSD-src-6c57f18a597a2b5c5070aa4e62033aa33efc4f1d.zip FreeBSD-src-6c57f18a597a2b5c5070aa4e62033aa33efc4f1d.tar.gz |
dropwithreset is not needed in this case as tcp_drop() is already notifying
the other side. Before we were sending two RST packets.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 97f7f3c..4df4a99 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1644,7 +1644,7 @@ trimthenstep6: if (thflags & TH_SYN) { tp = tcp_drop(tp, ECONNRESET); rstreason = BANDLIM_UNLIMITED; - goto dropwithreset; + goto drop; } /* |