cvs commit: src/sys/netinet tcp_timer.c
Robert Watson
rwatson at FreeBSD.org
Sat Jun 3 19:38:45 UTC 2006
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
More information about the cvs-src
mailing list