From owner-cvs-all Wed Oct 30 1:21:33 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 D530937B401; Wed, 30 Oct 2002 01:21:32 -0800 (PST) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6939A43E3B; Wed, 30 Oct 2002 01:21:32 -0800 (PST) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 8168D4349; Wed, 30 Oct 2002 09:21:06 +0000 (GMT) Date: Wed, 30 Oct 2002 09:21:06 +0000 From: Josef Karthauser To: Ian Dowse Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/usb ulpt.c Message-ID: <20021030092106.GA3908@genius.tao.org.uk> References: <200210300118.g9U1Iwao077432@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210300118.g9U1Iwao077432@repoman.freebsd.org> User-Agent: Mutt/1.5.1i 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 On Tue, Oct 29, 2002 at 05:18:58PM -0800, Ian Dowse wrote: > iedowse 2002/10/29 17:18:58 PST > > Modified files: > sys/dev/usb ulpt.c > Log: > Check for errors and zero-length transfers in the ulpt_input() input > pipe callback function, and just return if these cases are detected. > Without these checks, the ulpt driver may cause an infinite loop > of failing USB transfers that can hang the whole machine. This makes > printing work for me on a HP DJ950C printer. > Thanks Ian, Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message