From owner-cvs-src@FreeBSD.ORG Sun Jul 16 03:34:56 2006 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 4F9CF16A4DD; Sun, 16 Jul 2006 03:34:56 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10BA143D4C; Sun, 16 Jul 2006 03:34:56 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6G3Yt97069191; Sun, 16 Jul 2006 03:34:55 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6G3Ytoa069190; Sun, 16 Jul 2006 03:34:55 GMT (envelope-from mjacob) Message-Id: <200607160334.k6G3Ytoa069190@repoman.freebsd.org> From: Matt Jacob Date: Sun, 16 Jul 2006 03:34:55 +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/dev/mpt mpt.c mpt_cam.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: Sun, 16 Jul 2006 03:34:56 -0000 mjacob 2006-07-16 03:34:55 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt_cam.c Log: If we're in mpt_wait_req and the command times out, mark it as timed out. Don't try and free the config request for read_cfg_header that times out because it's still active. Put in code for the config reply handler that will then free up timed out requests. Fix the FC_PRIMITIVE_SEND completion to not try and free a command twice. Dunno how this possibly could have been working for awhile. MFC after: 2 weeks Revision Changes Path 1.34 +12 -1 src/sys/dev/mpt/mpt.c 1.29 +6 -3 src/sys/dev/mpt/mpt_cam.c