Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223184
b: refs/heads/master
c: e7dfc8d
h: refs/heads/master
v: v3
  • Loading branch information
Alexander V. Lukyanov authored and David S. Miller committed Dec 2, 2010
1 parent b3c7d86 commit 813668c
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: f8e9616108c7003e6499c162459258f11c9dc85e
refs/heads/master: e7dfc8dbdf9a7fa1ef04c63100a71f4102b82ed3
6 changes: 3 additions & 3 deletions trunk/drivers/net/tulip/dmfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,16 +688,16 @@ static netdev_tx_t dmfe_start_xmit(struct sk_buff *skb,

DMFE_DBUG(0, "dmfe_start_xmit", 0);

/* Resource flag check */
netif_stop_queue(dev);

/* Too large packet check */
if (skb->len > MAX_PACKET_SIZE) {
pr_err("big packet = %d\n", (u16)skb->len);
dev_kfree_skb(skb);
return NETDEV_TX_OK;
}

/* Resource flag check */
netif_stop_queue(dev);

spin_lock_irqsave(&db->lock, flags);

/* No Tx resource check, it never happen nromally */
Expand Down

0 comments on commit 813668c

Please sign in to comment.