Re: tcp_usrreq bug ??

2002-12-05 Thread Mike Silbersack
On Tue, 3 Dec 2002, Aniruddha Bohra wrote: > Hello > The following code snippet is from netinet/tcp_usrreq.c > > As in the comment (and presumably correct behaviour) a RST should > be sent on close if the connection is embryonic. However, > if (tp->t_state < TCPS_ESTABLISHED) > tp = tcp_c

tcp_usrreq bug ??

2002-12-03 Thread Aniruddha Bohra
Hello The following code snippet is from netinet/tcp_usrreq.c As in the comment (and presumably correct behaviour) a RST should be sent on close if the connection is embryonic. However, if (tp->t_state < TCPS_ESTABLISHED) tp = tcp_close(tp); does not do it. One can imagine a scenario when a