home *** CD-ROM | disk | FTP | other *** search
- This should be applied from the directory /usr/src/sys/netinet:
-
- diff -c tcp_usrreq.c.orig tcp_usrreq.c
- *** tcp_usrreq.c.orig Fri Aug 16 17:51:47 1996
- --- tcp_usrreq.c Tue Dec 24 12:04:40 1996
- ***************
- *** 552,557 ****
- --- 552,563 ----
- break;
- }
- if (tp && tp->t_state >= TCPS_FIN_WAIT_2)
- + {
- soisdisconnected(tp->t_inpcb->inp_socket);
- + /* To prevent the connection hanging in FIN_WAIT_2 forever. */
- + if (tp->t_state == TCPS_FIN_WAIT_2)
- + tp->t_timer[TCPT_2MSL] = tcp_maxidle;
- + }
- +
- return (tp);
- }
-