From owner-cvs-src@FreeBSD.ORG Sat Jun 4 08:03:29 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B41416A41C; Sat, 4 Jun 2005 08:03:29 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4680243D1F; Sat, 4 Jun 2005 08:03:29 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5483SB8025744; Sat, 4 Jun 2005 08:03:29 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5483S1J025743; Sat, 4 Jun 2005 08:03:28 GMT (envelope-from ps) Message-Id: <200506040803.j5483S1J025743@repoman.freebsd.org> From: Paul Saab Date: Sat, 4 Jun 2005 08:03:28 +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_sack.c tcp_var.h 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: Sat, 04 Jun 2005 08:03:29 -0000 ps 2005-06-04 08:03:28 UTC FreeBSD src repository Modified files: sys/netinet tcp_sack.c tcp_var.h Log: Changes to tcp_sack_option() that - Walks the scoreboard backwards from the tail to reduce the number of comparisons for each sack option received. - Introduce functions to add/remove sack scoreboard elements, making the code more readable. Submitted by: Noritoshi Demizu Reviewed by: Raja Mukerji, Mohan Srinivasan Revision Changes Path 1.21 +116 -90 src/sys/netinet/tcp_sack.c 1.125 +2 -1 src/sys/netinet/tcp_var.h