From: Ursula Braun Date: Wed, 29 Aug 2007 09:26:56 +0000 (+0200) Subject: qeth: crash during reboot after failing online setting X-Git-Tag: v2.6.23-rc5~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d4f3d182b1c6074b84feaadd84a0957059a5940;p=pandora-kernel.git qeth: crash during reboot after failing online setting Online setting of a qeth device may fail for instance because of: - out-of-memory condition when allocating qdio queues - IDX ACTIVATE problem - ... Such a device is still returned in a driver_for_each_device loop processed in qeth_reboot_event(), which calls qeth_clear_qdio_buffers(). Make sure qeth_clear_output_buffer() is called only, if the qdio queues have been successfully allocated during initialization of a qeth device. Signed-off-by: Ursula Braun Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed