svn commit: r303096 - head/sys/kern

Hans Petter Selasky hps at selasky.org
Thu Jul 21 08:11:59 UTC 2016


On 07/21/16 10:12, Hans Petter Selasky wrote:
> On 07/20/16 18:44, Gleb Smirnoff wrote:
>> Author: glebius
>> Date: Wed Jul 20 16:44:22 2016
>> New Revision: 303096
>> URL: https://svnweb.freebsd.org/changeset/base/303096
>>
>> Log:
>>   Revert r303037. It re-introduces the panic with TCP timers.
>>
>>   Agreed by:    rrs, re (gjb)
>>
>> Modified:
>>   head/sys/kern/kern_timeout.c
>>
>
> Hi,
>
> The panic with TCP timers can also be fixes calling callout_stop() twice
> instead of once.

s/fixes/fixed

>
> First time out call it it will return 1,0,-1. Second time only 0 or -1.

First call will return 1,0,-1 and second time it will return 0 or -1, 
which is what you are looking for.

--HPS



More information about the svn-src-head mailing list