Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63715
b: refs/heads/master
c: 5845b67
h: refs/heads/master
i:
  63713: 73ad9f3
  63711: 2cb0fb7
v: v3
  • Loading branch information
Ingo Molnar authored and Jeff Garzik committed Aug 7, 2007
1 parent b91380c commit c485238
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 092ed997c0c324a2e5e839da9f49453bb5227703
refs/heads/master: 5845b677cf7f64a0f104609e1dfe02a439f69f71
4 changes: 1 addition & 3 deletions trunk/drivers/net/atl1/atl1_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1704,10 +1704,8 @@ static int atl1_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
}
}

local_irq_save(flags);
if (!spin_trylock(&adapter->lock)) {
if (!spin_trylock_irqsave(&adapter->lock, flags)) {
/* Can't get lock - tell upper layer to requeue */
local_irq_restore(flags);
dev_printk(KERN_DEBUG, &adapter->pdev->dev, "tx locked\n");
return NETDEV_TX_LOCKED;
}
Expand Down

0 comments on commit c485238

Please sign in to comment.