Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 10:15:59 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r303096 - head/sys/kern
Message-ID:  <900304a4-aec9-2404-fbfc-4183997fe4ce@selasky.org>
In-Reply-To: <6162a195-05ae-0095-cf9e-115df497e577@selasky.org>
References:  <201607201644.u6KGiM3e007023@repo.freebsd.org> <6162a195-05ae-0095-cf9e-115df497e577@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?900304a4-aec9-2404-fbfc-4183997fe4ce>