Browse Source

net: convert remaining non-symbolic return values in dev_queue_xmit

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>
Krishna Kumar 15 years ago
parent
commit
03a9a447d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/core/dev.c

+ 1 - 1
net/core/dev.c

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