From owner-cvs-src@FreeBSD.ORG Tue Apr 17 15:25:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BF3816A400; Tue, 17 Apr 2007 15:25:15 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DA13D13C455; Tue, 17 Apr 2007 15:25:14 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3HFPEqP031812; Tue, 17 Apr 2007 15:25:14 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3HFPE6e031811; Tue, 17 Apr 2007 15:25:14 GMT (envelope-from andre) Message-Id: <200704171525.l3HFPE6e031811@repoman.freebsd.org> From: Andre Oppermann Date: Tue, 17 Apr 2007 15:25:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_syncache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 15:25:15 -0000 andre 2007-04-17 15:25:14 UTC FreeBSD src repository Modified files: sys/netinet tcp_syncache.c Log: When we run into the syncache entry limits syncache_add() tries to free the oldest entry in the current bucket row. The global entry limit may be smaller than the bucket rows and their limit combined however. Thus only try to free a syncache entry if we found one in this bucket row. Reported by: kris Revision Changes Path 1.110 +2 -2 src/sys/netinet/tcp_syncache.c