Re: Post-XDR CLD cannot keep session up

Pete Zaitcev <[email protected]>
Newsgroups org.kernel.vger.hail-devel
Message-ID <[email protected]>
On Tue, 09 Feb 2010 07:06:39 -0500
Jeff Garzik <[email protected]> wrote:

> There is definitely something strange going on in the timer routines, 
> that is causing session_timeout() not to run even though it re-adds 
> itself to the timer list using cld_timer_add().  fprintf() debug output 
> in cld_timer_add and cld_timers_run are yielding unexpected results.

Shoot, I think I know what this is, and it's my fault. The list is
"cached" improperly inside cld_timers_run. I remember that at some
point I added a mutex to every list and noticed that the list wasn't
locked correctly, so fixed it. But then I dropped those mutexes because
of some recursion issues and undone the fix. I'll retest and send a
patch in a few.

-- Pete
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.