* jayanth <[EMAIL PROTECTED]> [010928 14:43] wrote:
> Yoshi,
> I have attached a patch. Let me know if this fixes the problem.
> 
> jayanth

cool, but..

> --- tcp_output.c      Fri Sep 28 11:15:32 2001
> +++ tcp_output.c.new  Fri Sep 28 12:05:03 2001
> @@ -133,7 +133,7 @@
>        * If there is some data or critical controls (SYN, RST)
>        * to send, then transmit; otherwise, investigate further.
>        */
> -     idle = (tp->snd_max == tp->snd_una);
> +     idle = (tp->t_flags & TF_LASTIDLE) ? 1 : (tp->snd_max == tp->snd_una);

how about:
idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to