tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: KASSERT() in kern_timeout.c



Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> On Mon, Apr 19, 2010 at 04:10:15PM +0100, Mindaugas Rasiukevicius wrote:
> > To answer your previous question - yes, that is what I meant, plus other
> > amendments you have already made.  Note: it might also be useful to
> > manually trigger callout in syn_cache_put() to speed-up the destruction.
> 
> How would you do that ? callout_reset(&(sc)->sc_timer, 1, ...) ?
> 

Right, except callout_schedule() should be enough.  Also, you have removed
callout_stop() from syn_cache_rm().  In such case it is unsafe, you need
to keep it.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index