From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 08:47:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD96916A4CE for ; Fri, 28 Nov 2003 08:47:41 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F03A43F85 for ; Fri, 28 Nov 2003 08:47:39 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 48779 invoked from network); 28 Nov 2003 15:45:46 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 28 Nov 2003 15:45:46 -0000 Message-ID: <3FC77C2A.922720AD@freebsd.org> Date: Fri, 28 Nov 2003 17:47:38 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------E27875B4D61505D94F0414F2" Subject: [Fwd: cvs commit: src/sys/netinet tcp_hostcache.c] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2003 16:47:42 -0000 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: 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 ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 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 ; 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 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--