On Sat, 12 Mar 2005 20:32:23 +0100 Xuân Baldauf <xuan--2005.03.12--linux-net--vger.kernel.org@xxxxxxxxxxx> wrote: > In some (but not all) functions dealing with the "write_seq" field of a > "struct tcp_sock", if this field ever was to be set as 0, it is actually > set as 1. > > Examples are: ... > But this kind of changing numbers changes the result of the calculation > of "how much data is still unsent", as in Absolutely not true. All the cases you quoted are when we are setting up a new TCP connection (when doing a "BSD TIME_WAIT" recycling of a TCP_TIME_WAIT socket into a fresh established one) or destroying an old connection (in tcp_disconnect()). - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html