summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar2@in.ibm.com>2009-08-29 20:21:36 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-30 22:16:57 -0700
commit03a9a447d2dab755b22df79b5e205fdbb9b2c851 (patch)
tree4a5b14d31df24e5d624304c93f89627d721a0143 /net/core
parent7b3d3e4fc685a7d7e0b4c207ce24dfbab5689eb0 (diff)
downloadlinux-03a9a447d2dab755b22df79b5e205fdbb9b2c851.tar.gz
linux-03a9a447d2dab755b22df79b5e205fdbb9b2c851.tar.bz2
linux-03a9a447d2dab755b22df79b5e205fdbb9b2c851.zip
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>
Diffstat (limited to 'net/core')
-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:
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;