17 lines
593 B
Diff
17 lines
593 B
Diff
Index: sys/netinet/tcp_input.c
|
|
===================================================================
|
|
--- sys/netinet/tcp_input.c (revision 271383)
|
|
+++ sys/netinet/tcp_input.c (working copy)
|
|
@@ -2092,11 +2092,7 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th,
|
|
|
|
todrop = tp->rcv_nxt - th->th_seq;
|
|
if (todrop > 0) {
|
|
- /*
|
|
- * If this is a duplicate SYN for our current connection,
|
|
- * advance over it and pretend and it's not a SYN.
|
|
- */
|
|
- if (thflags & TH_SYN && th->th_seq == tp->irs) {
|
|
+ if (thflags & TH_SYN) {
|
|
thflags &= ~TH_SYN;
|
|
th->th_seq++;
|
|
if (th->th_urp > 1)
|