Date: Sat, 3 Jun 2006 19:37:08 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_timer.c Message-ID: <200606031937.k53Jb8L9078867@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-06-03 19:37:08 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_timer.c
Log:
When entering a timer on a tcpcb, don't continue processing if it has been
dropped. This prevents a bug introduced during the socket/pcb refcounting
work from occuring, in which occasionally the retransmit timer may fire
after a connection has been reset, resulting in the resulting R|A TCP
packet having a source port of 0, as the port reservation has been
released.
While here, fixing up some RUNLOCK->WUNLOCK bugs.
MFC after: 1 month
Revision Changes Path
1.81 +14 -9 src/sys/netinet/tcp_timer.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606031937.k53Jb8L9078867>
