[2/5] qeth: scheduling while atomic during ifconfig online sequence

Submitted by frank.blaschka@de.ibm.com on Aug. 26, 2009, 12:01 p.m.


Message ID 20090826120136.122811000@de.ibm.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

frank.blaschka@de.ibm.com Aug. 26, 2009, 12:01 p.m.
From: Frank Blaschka <frank.blaschka@de.ibm.com>

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>

 drivers/s390/net/qeth_l3_main.c |    1 +
 1 file changed, 1 insertion(+)

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

Index: git_net-next/drivers/s390/net/qeth_l3_main.c
--- git_net-next.orig/drivers/s390/net/qeth_l3_main.c
+++ git_net-next/drivers/s390/net/qeth_l3_main.c
@@ -3180,6 +3180,7 @@  static int __qeth_l3_set_online(struct c
 	qeth_set_allowed_threads(card, 0xffffffff, 0);
+	qeth_l3_set_ip_addr_list(card);
 	if (recover_flag == CARD_STATE_RECOVER) {
 		if (recovery_mode)