diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2008-06-06 06:37:48 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-10 18:20:37 -0400 |
commit | d0ec0f549705b7ecfb787f02512606b08fe5b291 (patch) | |
tree | 9f4d91e1042c6e59827b6032852bb47e0565c0aa /drivers/s390 | |
parent | 345aa66e97e61dccafaaa835e4b20d9b241e187f (diff) |
qeth: start dev queue after tx drop error
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index dd7659c8de16..f682f7b14480 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
@@ -721,6 +721,7 @@ tx_drop: | |||
721 | if ((new_skb != skb) && new_skb) | 721 | if ((new_skb != skb) && new_skb) |
722 | dev_kfree_skb_any(new_skb); | 722 | dev_kfree_skb_any(new_skb); |
723 | dev_kfree_skb_any(skb); | 723 | dev_kfree_skb_any(skb); |
724 | netif_wake_queue(dev); | ||
724 | return NETDEV_TX_OK; | 725 | return NETDEV_TX_OK; |
725 | } | 726 | } |
726 | 727 | ||
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index de256e48bfe9..999552c83bbe 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -2764,6 +2764,7 @@ tx_drop: | |||
2764 | if ((new_skb != skb) && new_skb) | 2764 | if ((new_skb != skb) && new_skb) |
2765 | dev_kfree_skb_any(new_skb); | 2765 | dev_kfree_skb_any(new_skb); |
2766 | dev_kfree_skb_any(skb); | 2766 | dev_kfree_skb_any(skb); |
2767 | netif_wake_queue(dev); | ||
2767 | return NETDEV_TX_OK; | 2768 | return NETDEV_TX_OK; |
2768 | } | 2769 | } |
2769 | 2770 | ||