net: convert remaining non-symbolic return values in dev_queue_xmit
authorKrishna Kumar <krkumar2@in.ibm.com>
Sat, 29 Aug 2009 20:21:36 +0000 (20:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 05:16:57 +0000 (22:16 -0700)
Patch compiled and 32 simultaneous netperf testing ran fine.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 4b837896ebd25a6e9ef612fa62393a940c7c47a8..4b335661697626fce798e4ed7b0d525067af745c 100644 (file)
@@ -1917,7 +1917,7 @@ gso:
                        HARD_TX_LOCK(dev, txq, cpu);
 
                        if (!netif_tx_queue_stopped(txq)) {
-                               rc = 0;
+                               rc = NET_XMIT_SUCCESS;
                                if (!dev_hard_start_xmit(skb, dev, txq)) {
                                        HARD_TX_UNLOCK(dev, txq);
                                        goto out;