]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/tcp_input.c
xnu-201.19.tar.gz
[apple/xnu.git] / bsd / netinet / tcp_input.c
index 599c6e0d958ffed549a549877b37260b5062889a..92f3697c21ca1845db649212b1da6460c8fcdf71 100644 (file)
@@ -721,6 +721,12 @@ findpcb:
                goto dropwithreset;
        if (tp->t_state == TCPS_CLOSED)
                goto drop;
+        /* 
+         * Bogus state when listening port owned by SharedIP with loopback as the 
+         * only configured interface: BlueBox does not filters loopback
+         */ 
+       if (tp->t_state == TCP_NSTATES)
+               goto drop;
 
        /* Unscale the window into a 32-bit value. */
        if ((thflags & TH_SYN) == 0)