Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253886
b: refs/heads/master
c: 44da29d
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jun 19, 2011
1 parent df0dfe8 commit 38c0c60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 658924dc9ae2ca8e3c46f36306f5dbd501cf4688
refs/heads/master: 44da29d26bb8df3b0411ba902f2bc9b973ea38e4
6 changes: 3 additions & 3 deletions trunk/drivers/misc/sgi-xp/xpnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,14 @@ xpnet_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
}
}

dev->stats.tx_packets++;
dev->stats.tx_bytes += skb->len;

if (atomic_dec_return(&queued_msg->use_count) == 0) {
dev_kfree_skb(skb);
kfree(queued_msg);
}

dev->stats.tx_packets++;
dev->stats.tx_bytes += skb->len;

return NETDEV_TX_OK;
}

Expand Down

0 comments on commit 38c0c60

Please sign in to comment.