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:
parent
64a18d6f20
commit
122aad88d5
@ -1644,7 +1644,7 @@ trimthenstep6:
|
|||||||
if (thflags & TH_SYN) {
|
if (thflags & TH_SYN) {
|
||||||
tp = tcp_drop(tp, ECONNRESET);
|
tp = tcp_drop(tp, ECONNRESET);
|
||||||
rstreason = BANDLIM_UNLIMITED;
|
rstreason = BANDLIM_UNLIMITED;
|
||||||
goto dropwithreset;
|
goto drop;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1644,7 +1644,7 @@ trimthenstep6:
|
|||||||
if (thflags & TH_SYN) {
|
if (thflags & TH_SYN) {
|
||||||
tp = tcp_drop(tp, ECONNRESET);
|
tp = tcp_drop(tp, ECONNRESET);
|
||||||
rstreason = BANDLIM_UNLIMITED;
|
rstreason = BANDLIM_UNLIMITED;
|
||||||
goto dropwithreset;
|
goto drop;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user