qeth: start dev queue after tx drop error
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Fri, 6 Jun 2008 10:37:48 +0000 (12:37 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 10 Jun 2008 22:20:37 +0000 (18:20 -0400)
In case the xmit function drop out with an error, we have to wake
the netdevice queue to start another xmit.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c

index dd7659c8de16e5b626f23ba5d899f6455e5a6e06..f682f7b144806b0478e6bdfcb9c9825b5b94756d 100644 (file)
@@ -721,6 +721,7 @@ tx_drop:
        if ((new_skb != skb) && new_skb)
                dev_kfree_skb_any(new_skb);
        dev_kfree_skb_any(skb);
+       netif_wake_queue(dev);
        return NETDEV_TX_OK;
 }
 
index de256e48bfe9cca20f34d2413c2947a615ace81c..999552c83bbe144c7082d1b8a55929df333f3375 100644 (file)
@@ -2764,6 +2764,7 @@ tx_drop:
        if ((new_skb != skb) && new_skb)
                dev_kfree_skb_any(new_skb);
        dev_kfree_skb_any(skb);
+       netif_wake_queue(dev);
        return NETDEV_TX_OK;
 }