aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 4b837896ebd2..4b3356616976 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1917,7 +1917,7 @@ gso:
1917 HARD_TX_LOCK(dev, txq, cpu); 1917 HARD_TX_LOCK(dev, txq, cpu);
1918 1918
1919 if (!netif_tx_queue_stopped(txq)) { 1919 if (!netif_tx_queue_stopped(txq)) {
1920 rc = 0; 1920 rc = NET_XMIT_SUCCESS;
1921 if (!dev_hard_start_xmit(skb, dev, txq)) { 1921 if (!dev_hard_start_xmit(skb, dev, txq)) {
1922 HARD_TX_UNLOCK(dev, txq); 1922 HARD_TX_UNLOCK(dev, txq);
1923 goto out; 1923 goto out;