Date: Thu, 17 Dec 2009 23:24:04 +0800 (CST) From: =?gbk?B?zfW0urfn?= <fengdreamer@126.com> To: freebsd-net <freebsd-net@freebsd.org> Subject: Bug discussion:Tcp snd_nxt will not be increased. Message-ID: <31264189.456321261063444556.JavaMail.coremail@bj126app49.126.com>
index | next in thread | raw e-mail
Hello All: There's a problem i am facing. Is it a bug ? It's tcp connect socket, SYN will be send, but if before SYN ACK was received, the SYN will be retransmited, there'll be some problem. the restransmit is like this: move the snd_nxt to snd_una, and begin to sendout by tcp_output. after send the snd_nxt will return to normal just like below. before tcp_output after tcp output |--Seq--|--Seq+1--| |--Seq--|--Seq+1--| snd_una snd_una snd_nxt snd_nxt If the tcp_output just have some error, for example: when alloc mbuf, it returns NULL, and then the snd_nxt number will not be return to normal. If just in this time, SYN Ack arrives, freeBSD can't handle this situdition. Thanks!home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31264189.456321261063444556.JavaMail.coremail>
