qeth: avoid recovery during device online setting
authorUrsula Braun <ursula.braun@de.ibm.com>
Mon, 11 Jan 2010 02:50:51 +0000 (02:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 04:34:56 +0000 (20:34 -0800)
commit84b66683dba002f4cce2aaf78bf45debfaf22795
treebd26657a46dc210e700051f91d3c4ec9c41acc03
parent76b11f8e270f04851774ff64b16e29e5a43d3a1a
qeth: avoid recovery during device online setting

If a qeth device is set online, several initialisation steps are
performed. If a failure in one of these steps occurs, the qeth
device is reset into DOWN state. If due to the failure a qeth recovery
is scheduled and started in another thread, this might cause all kinds
of conflicts, even a kernel panic. The patch forbids scheduling of a
qeth recovery while online processing is performed till the card is in
state SOFTSETUP.

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>
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c