Ursula Braun f214856540 qeth: avoid crash after detach of replugged device
If a qeth device is plugged off, setting the device online stops in
state HARDSETUP and a failure is reported to the base cio-layer
causing halt/clear to be invoked. Replugging the device again triggers
a qeth recovery without notification of the cio-layer. If a device
is ungrouped in this state, the qeth set_offline function is not
invoked, because the corresponding ccwgroup device is not in state
ONLINE. Then incoming traffic is still handled by the qdio layer
resulting in a crash in qeth_l<x>_qdio_input_handler, because (part
of) the qeth data structures for this device are already removed.
Solution: After replugging the device qeth recovery should lead to a
working net device. Thus a "LAN offline" result when setting a qeth
device online must not report a failure to the base cio-layer.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-20 17:36:49 -07:00
..
2008-10-10 21:33:49 +02:00
2008-07-22 17:53:46 -04:00
2008-07-22 17:53:46 -04:00
2008-07-22 17:53:46 -04:00
2009-01-06 10:44:34 -08:00
2008-07-14 10:02:25 +02:00
2008-03-17 07:49:26 -04:00
2009-03-25 00:06:21 -07:00
2009-03-25 00:06:21 -07:00
2009-03-25 00:06:21 -07:00
2008-04-29 01:56:30 -04:00
2005-05-01 08:58:58 -07:00