Re: Fix for 5.2-BETA lockup problems

2003-11-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andre Oppermann <[EMAIL PROTECTED]> writes: : "M. Warner Losh" wrote: : > : > In message: <[EMAIL PROTECTED]> : > Andre Oppermann <[EMAIL PROTECTED]> writes: : > : Please try the attached patch which should fix it. : > : > I've been having c

Re: Fix for 5.2-BETA lockup problems

2003-11-28 Thread Andre Oppermann
"M. Warner Losh" wrote: > > In message: <[EMAIL PROTECTED]> > Andre Oppermann <[EMAIL PROTECTED]> writes: > : Please try the attached patch which should fix it. > > I've been having crashes all the time since the hostcache went into > the tree. I've been running a few hours with this

Re: Fix for 5.2-BETA lockup problems

2003-11-28 Thread Matt Smith
Andre Oppermann wrote: Hello all, I've found what probably is going wrong in tcp_hostcache. The problem is me cutting corners (what goes around comes around...) in tcp_hc_insert when the bucket limit is reached. I made the #if 0 too big and the bucket was not removed from the tailqueue when we h

Re: Fix for 5.2-BETA lockup problems

2003-11-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Andre Oppermann <[EMAIL PROTECTED]> writes: : Please try the attached patch which should fix it. I've been having crashes all the time since the hostcache went into the tree. I've been running a few hours with this patch (in which time I should have had

Fix for 5.2-BETA lockup problems

2003-11-27 Thread Andre Oppermann
Hello all, I've found what probably is going wrong in tcp_hostcache. The problem is me cutting corners (what goes around comes around...) in tcp_hc_insert when the bucket limit is reached. I made the #if 0 too big and the bucket was not removed from the tailqueue when we hit the bucket limit. A