Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 00:07:23 +0800 (CST)
From:      =?gbk?B?zfW0urfn?= <fengdreamer@126.com>
To:        freebsd-bugs <freebsd-bugs@freebsd.org>
Subject:   Bug discussion:Tcp snd_nxt will not be increased.
Message-ID:  <7633578.1174971260979643891.JavaMail.coremail@bj126app75.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 the below picture. 
 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?7633578.1174971260979643891.JavaMail.coremail>