Skip to content

Commit

Permalink
net: convert remaining non-symbolic return values in dev_queue_xmit
Browse files Browse the repository at this point in the history
Patch compiled and 32 simultaneous netperf testing ran fine.

Signed-off-by: Krishna Kumar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
krkumar authored and davem330 committed Aug 31, 2009
1 parent 7b3d3e4 commit 03a9a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ int dev_queue_xmit(struct sk_buff *skb)
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;
Expand Down

0 comments on commit 03a9a44

Please sign in to comment.