I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
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)
|