]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r284245:
authorjch <jch@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jun 2015 13:44:06 +0000 (13:44 +0000)
committerjch <jch@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jun 2015 13:44:06 +0000 (13:44 +0000)
commit856741309a78ccfea27128b380cf0fc99d601088
treee551b806e1a9461c30034c81100c2240a1ad16dd
parent7736edd42f2d0b992622884d09e77c951b8d5e2a
MFC r284245:
Fix a callout race condition introduced in TCP timers callouts with r281599.
In TCP timer context, it is not enough to check callout_stop() return value
to decide if a callout is still running or not, previous callout_reset()
return values have also to be checked.

git-svn-id: svn://svn.freebsd.org/base/stable/10@284261 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h