From owner-cvs-all@FreeBSD.ORG Sun Jun 15 04:55:51 2003 Return-Path: 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 97A9437B401; Sun, 15 Jun 2003 04:55:51 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 352F143F75; Sun, 15 Jun 2003 04:55:51 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5FBtp0U086225; Sun, 15 Jun 2003 04:55:51 -0700 (PDT) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5FBtoJt086224; Sun, 15 Jun 2003 04:55:50 -0700 (PDT) Message-Id: <200306151155.h5FBtoJt086224@repoman.freebsd.org> From: Ian Dowse Date: Sun, 15 Jun 2003 04:55:50 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ulpt.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 11:55:51 -0000 iedowse 2003/06/15 04:55:50 PDT FreeBSD src repository Modified files: sys/dev/usb ulpt.c Log: If the device goes away during ulpt_reset(), make sure not to call ulpt_status() afterwards. This fixes a crash that can occur if a USB printer is power-cycled when printing is just starting. The problem is similar to that fixed in revision 1.33, but it is much less likely to occur. MFC after: 1 week Revision Changes Path 1.56 +7 -1 src/sys/dev/usb/ulpt.c