[Fwd: cvs commit: src/sys/netinet tcp_hostcache.c]

From: Andre Oppermann <andre_at_freebsd.org>
Date: Fri, 28 Nov 2003 17:47:38 +0100
This is the committed fix for the lockup problems a couple of you
have experienced.  If you don't have this fix already please re-
cvsup and remake the kernel.

-- 
Andre

attached mail follows:


andre       2003/11/28 08:33:03 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_hostcache.c 
  Log:
  Fix an optimization where I made an ifdef'd out section to broad.
  
  When the hostcache bucket limit is reached the last bucket wasn't
  removed from the bucket row but inserted a few lines later at the
  bucket row head again.  This leads to infinite loop when the same
  bucket row is accessed the next time for a lookup/insert or purge
  action.
  
  Tested by:      imp, Matt Smith
  Approved by:    re (rwatson)
  
  Revision  Changes    Path
  1.2       +4 -4      src/sys/netinet/tcp_hostcache.c
Received on Fri Nov 28 2003 - 07:47:41 UTC

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