Date: Mon, 21 May 2001 02:24:49 -0700 (PDT) From: Hellmuth Michaelis <hm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i4b/driver i4b_tel.c Message-ID: <200105210924.f4L9OnI77344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105210924.f4L9OnI77344>