cvs commit: src/sys/netinet tcp_hostcache.c

Andre Oppermann andre at FreeBSD.org
Fri Nov 28 08:33:09 PST 2003


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


More information about the cvs-all mailing list