The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c00605751e40797de795944cb3c6dcc405136d8b

commit c00605751e40797de795944cb3c6dcc405136d8b
Author:     Gleb Smirnoff <gleb...@freebsd.org>
AuthorDate: 2022-08-30 02:30:12 +0000
Commit:     Gleb Smirnoff <gleb...@freebsd.org>
CommitDate: 2022-08-30 02:30:12 +0000

    tcp: remove a dead code leftover from T/TCP,
    
    that doesn't have any value today.
---
 sys/netinet/tcp_input.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 12f78e9f3248..bf963840cd23 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -2125,16 +2125,6 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct 
socket *so,
                        goto process_ACK;
 
                goto step6;
-
-       /*
-        * If the state is LAST_ACK or CLOSING or TIME_WAIT:
-        *      do normal processing.
-        *
-        * NB: Leftover from RFC1644 T/TCP.  Cases to be reused later.
-        */
-       case TCPS_LAST_ACK:
-       case TCPS_CLOSING:
-               break;  /* continue normal processing */
        }
 
        /*

Reply via email to