From owner-freebsd-current Sat Dec 21 11:21:28 2002 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 A8D7937B405; Sat, 21 Dec 2002 11:21:27 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D25643ED8; Sat, 21 Dec 2002 11:21:27 -0800 (PST) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org ([63.193.112.125]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0H7H0033CHRQEG@mta7.pltn13.pbi.net>; Sat, 21 Dec 2002 11:21:26 -0800 (PST) Date: Sat, 21 Dec 2002 11:27:03 -0800 From: Jeffrey Hsu Subject: Re: panic in netinet/tcp_syncache.c: syncache_timer In-reply-to: Message from Pierre Beyssac "of Sat, 21 Dec 2002 19:24:19 +0100." <20021221182419.GA913@fasterix.frmug.org> To: Pierre Beyssac Cc: freebsd-current@freebsd.org, jlemon@freebsd.org Message-id: <0H7H0033DHRQEG@mta7.pltn13.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I'm testing the patch below, which simply removes the inpcb locking > and avoids the panic. It seems safe to me since we're running splnet, > but I'm not sure it's correct since I suppose the locking is there > for a reason... It's safe to remove those inp locks. We only use the generation count to check to see if the inp has been deleted. Jeffrey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message