Date: Fri, 28 Nov 2003 17:47:38 +0100 From: Andre Oppermann <andre@freebsd.org> To: freebsd-current@freebsd.org Subject: [Fwd: cvs commit: src/sys/netinet tcp_hostcache.c] Message-ID: <3FC77C2A.922720AD@freebsd.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------E27875B4D61505D94F0414F2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------E27875B4D61505D94F0414F2 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: <owner-src-committers@FreeBSD.org> Delivered-To: oppermann@pipeline.ch Received: (qmail 47319 invoked from network); 28 Nov 2003 15:31:50 -0000 Received: from unknown (HELO mx2.freebsd.org) ([216.136.204.119]) (envelope-sender <owner-src-committers@FreeBSD.org>) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for <oppermann@pipeline.ch>; 28 Nov 2003 15:31:50 -0000 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 363395676C for <oppermann@pipeline.ch>; Fri, 28 Nov 2003 08:33:41 -0800 (PST) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id E230A16A4D7; Fri, 28 Nov 2003 08:33:40 -0800 (PST) Delivered-To: andre@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id BDF7D16A4D0; Fri, 28 Nov 2003 08:33:40 -0800 (PST) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A302A16A4CE; Fri, 28 Nov 2003 08:33:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7873043FE0; Fri, 28 Nov 2003 08:33:03 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hASGX3XJ022896; Fri, 28 Nov 2003 08:33:03 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hASGX3Lq022893; Fri, 28 Nov 2003 08:33:03 -0800 (PST) (envelope-from andre) Message-Id: <200311281633.hASGX3Lq022893@repoman.freebsd.org> From: Andre Oppermann <andre@FreeBSD.org> Date: Fri, 28 Nov 2003 08:33:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_hostcache.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Mozilla-Status2: 00000000 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 --------------E27875B4D61505D94F0414F2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC77C2A.922720AD>