aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2009-08-25 22:01:07 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-26 20:34:16 -0400
commite806904057253e4f7651a8594456e68857c24e1b (patch)
tree0feaf9564c372e998f9570471f5801497b886f21 /drivers/s390/net
parent58490f18071de525f42b6ed264a87116ec49ef0f (diff)
qeth: scheduling while atomic during ifconfig online sequence
In case the IP address list contains entries (not removed when the device was set offline) this entries should be registered next time the device is brought online. In the past this was done implicitly with the device open call but since we wait in the set IPv4 IPA and the device open common code holds various locks this does not work any longer. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/qeth_l3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 048defaea81f..77e04b7fad1d 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -3180,6 +3180,7 @@ static int __qeth_l3_set_online(struct ccwgroup_device *gdev, int recovery_mode)
3180 netif_carrier_on(card->dev); 3180 netif_carrier_on(card->dev);
3181 3181
3182 qeth_set_allowed_threads(card, 0xffffffff, 0); 3182 qeth_set_allowed_threads(card, 0xffffffff, 0);
3183 qeth_l3_set_ip_addr_list(card);
3183 if (recover_flag == CARD_STATE_RECOVER) { 3184 if (recover_flag == CARD_STATE_RECOVER) {
3184 if (recovery_mode) 3185 if (recovery_mode)
3185 qeth_l3_open(card->dev); 3186 qeth_l3_open(card->dev);