X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=drivers%2Fnet%2Fethernet%2Fhuawei%2Fhinic%2Fhinic_tx.c;h=2353ec829c04407d88b365ba58e14ec960c4e978;hb=f7482683f1f4925c60941dbbd0813ceaa069d106;hp=9128858479c4a031baa4b6b93b47d7097f01a995;hpb=4905bd9a42271bbf7dbef06b5e1edb18f33ac27c;p=uclinux-h8%2Flinux.git diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c b/drivers/net/ethernet/huawei/hinic/hinic_tx.c index 9128858479c4..2353ec829c04 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_tx.c +++ b/drivers/net/ethernet/huawei/hinic/hinic_tx.c @@ -229,6 +229,7 @@ netdev_tx_t hinic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) txq->txq_stats.tx_busy++; u64_stats_update_end(&txq->txq_stats.syncp); err = NETDEV_TX_BUSY; + wqe_size = 0; goto flush_skbs; }