Re: Fix for 5.2-BETA lockup problems

From: Matt Smith <matt_at_xtaz.net>
Date: Fri, 28 Nov 2003 09:55:55 +0000
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 hit the bucket limit.  A couple of lines
> later it is inserted again as head element which leads to an infinite loop
> either when the next lookup on the same bucket row is done, or when the
> the tcp_hc_purge function is run to timeout the entries.
> 
> Please try the attached patch which should fix it.
> 

This appears to have succesfully cured my lockup. I now have the 
original kernel config booted again with full inet6 etc and it's not 
locked up.

Regards, Matt.
Received on Fri Nov 28 2003 - 00:55:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC