question in tcp_do_segment()

2012-07-13 Thread Reese Faucette
, even with plenty of DUP ACKs. Am I missing something, or should that "!" go ? Thanks, Reese Faucette Myricom, Inc. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: question in tcp_do_segment()

2012-07-15 Thread Reese Faucette
On 7/15/2012 3:26 AM, Sepherosa Ziehau wrote: !tcp_timer_active() means that the connection's retransmit timer is not _set_ yet (please note, it is _not_ "has fired"). As far as I understand this code, it in turn means that this connection doesn't have any segments that were sent but not yet AC

Re: question in tcp_do_segment()

2012-07-15 Thread Reese Faucette
On 7/15/2012 6:53 PM, Sepherosa Ziehau wrote: On 7/15/2012 3:26 AM, Sepherosa Ziehau wrote: Hmm, callout_active() is not used to check for whether the callout is fired or not; it is used to check whether callout_reset() has been called but callout_stop() is not yet been called. IMO, callout_res