dropwithreset is not needed in this case as tcp_drop() is already notifying

the other side. Before we were sending two RST packets.
This commit is contained in:
Andre Oppermann 2003-11-12 19:38:01 +00:00
parent 64a18d6f20
commit 122aad88d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122576
2 changed files with 2 additions and 2 deletions

View File

@ -1644,7 +1644,7 @@ tcp_input(m, off0)
if (thflags & TH_SYN) {
tp = tcp_drop(tp, ECONNRESET);
rstreason = BANDLIM_UNLIMITED;
goto dropwithreset;
goto drop;
}
/*

View File

@ -1644,7 +1644,7 @@ tcp_input(m, off0)
if (thflags & TH_SYN) {
tp = tcp_drop(tp, ECONNRESET);
rstreason = BANDLIM_UNLIMITED;
goto dropwithreset;
goto drop;
}
/*