]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r239672 (by rrs):
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Feb 2013 16:39:53 +0000 (16:39 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Feb 2013 16:39:53 +0000 (16:39 +0000)
commit9fe9e600400014c6585d76138fe7060623a7294d
tree7e270dfc891e4178d1452f1190e47fd077bae51f
parentf5341156a9a1b0b562bfaaa143eaf612ada62207
MFC r239672 (by rrs):
  This small change takes care of a race condition
  that can occur when both sides close at the same time.
  If that occurs, without this fix the connection enters
  FIN1 on both sides and they will forever send FIN|ACK at
  each other until the connection times out. This is because
  we stopped processing the FIN|ACK and thus did not advance
  the sequence and so never ACK'd each others FIN. This
  fix adjusts it so we *do* process the FIN properly and
  the race goes away ;-)

Approved by: rrs
Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/9@246997 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_input.c