Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135125
b: refs/heads/master
c: 74c50b4
h: refs/heads/master
i:
  135123: c81d13a
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Mar 10, 2009
1 parent 7684db3 commit e2f9ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b318cb36813d03dd20f80e63c37176a55edae30
refs/heads/master: 74c50b4bae225b8e5aff9a1ceca256ba46c665c6
3 changes: 3 additions & 0 deletions trunk/drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2057,6 +2057,9 @@ static int qlge_send(struct sk_buff *skb, struct net_device *ndev)

tx_ring = &qdev->tx_ring[tx_ring_idx];

if (skb_padto(skb, ETH_ZLEN))
return NETDEV_TX_OK;

if (unlikely(atomic_read(&tx_ring->tx_count) < 2)) {
QPRINTK(qdev, TX_QUEUED, INFO,
"%s: shutting down tx queue %d du to lack of resources.\n",
Expand Down

0 comments on commit e2f9ac6

Please sign in to comment.