]> err.no Git - linux-2.6/commit
qeth: crash during reboot after failing online setting
authorUrsula Braun <braunu@de.ibm.com>
Wed, 29 Aug 2007 09:26:56 +0000 (11:26 +0200)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Aug 2007 10:52:58 +0000 (06:52 -0400)
commit6d4f3d182b1c6074b84feaadd84a0957059a5940
tree0a9506423e06a70fc420b16420f6c038649f8f93
parent5a4b61a95a9b742d8a966950d23f386c34a733f2
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 <braunu@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/qeth_main.c