From owner-cvs-all Mon May 21 2:24:54 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7445137B422; Mon, 21 May 2001 02:24:49 -0700 (PDT) (envelope-from hm@FreeBSD.org) Received: (from hm@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4L9OnI77344; Mon, 21 May 2001 02:24:49 -0700 (PDT) (envelope-from hm) Message-Id: <200105210924.f4L9OnI77344@freefall.freebsd.org> From: Hellmuth Michaelis Date: Mon, 21 May 2001 02:24:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i4b/driver i4b_tel.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 hm 2001/05/21 02:24:49 PDT Modified files: sys/i4b/driver i4b_tel.c Log: Submitted by: Juha-Matti Liukkonen, Cubical Solutions Ltd (jml@cubical.fi) Reviewed by: hm Bug in i4btel driver read routine corrected. The conditions in the while() clause caused the receive queue to be referenced before checking if a channel is connected, leading to kernel panic (do a 'dd if=/dev/i4btel0 of=/dev/null' on an unconnected tel device, panic will follow). Correction was to reorder the while clause conditions to check for connectedness first. Revision Changes Path 1.19 +5 -5 src/sys/i4b/driver/i4b_tel.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message