summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_reass.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2003-11-12 19:38:01 +0000
committerandre <andre@FreeBSD.org>2003-11-12 19:38:01 +0000
commit6c57f18a597a2b5c5070aa4e62033aa33efc4f1d (patch)
tree9d40657e3f310ba115d26e38b820ce98795392a0 /sys/netinet/tcp_reass.c
parent25bfb1b0f93e548382a891ab6b94778f621053cb (diff)
downloadFreeBSD-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_reass.c')
-rw-r--r--sys/netinet/tcp_reass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 97f7f3c..4df4a99 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -1644,7 +1644,7 @@ trimthenstep6:
if (thflags & TH_SYN) {
tp = tcp_drop(tp, ECONNRESET);
rstreason = BANDLIM_UNLIMITED;
- goto dropwithreset;
+ goto drop;
}
/*
OpenPOWER on IntegriCloud