From owner-cvs-all Fri Jun 28 12:12:48 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B2037B400; Fri, 28 Jun 2002 12:12:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76D9543E06; Fri, 28 Jun 2002 12:12:38 -0700 (PDT) (envelope-from jlemon@FreeBSD.org) Received: from freefall.freebsd.org (jlemon@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5SJCcJU000946; Fri, 28 Jun 2002 12:12:38 -0700 (PDT) (envelope-from jlemon@freefall.freebsd.org) Received: (from jlemon@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5SJCcDa000945; Fri, 28 Jun 2002 12:12:38 -0700 (PDT) Message-Id: <200206281912.g5SJCcDa000945@freefall.freebsd.org> From: Jonathan Lemon Date: Fri, 28 Jun 2002 12:12:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_syncache.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jlemon 2002/06/28 12:12:38 PDT Modified files: sys/netinet tcp_syncache.c Log: One possible code path for syncache_respond() is: syncache_respond(A), ip_output(), ip_input(), tcp_input(), syncache_badack(B) Which winds up deleting a different entry from the syncache. Handle this by not utilizing the next entry in the timer chain until after syncache_respond() completes. The case of A == B should not be possible. Problem found by: Don Bowman Revision Changes Path 1.23 +7 -1 src/sys/netinet/tcp_syncache.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message