Date: Fri, 28 Nov 2003 08:33:03 -0800 (PST) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_hostcache.c Message-ID: <200311281633.hASGX3Lq022893@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311281633.hASGX3Lq022893>
