Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171157
b: refs/heads/master
c: b8883a6
h: refs/heads/master
i:
  171155: ec81361
v: v3
  • Loading branch information
Jiri Slaby authored and David S. Miller committed Nov 4, 2009
1 parent 6c41222 commit 61e0759
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: c6d14c84566d6b70ad9dc1618db0dec87cca9300
refs/heads/master: b8883a65be2d925ea82b14ca0068ce9a6c8bac1f
4 changes: 1 addition & 3 deletions trunk/drivers/net/sungem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,10 +1033,8 @@ static netdev_tx_t gem_start_xmit(struct sk_buff *skb,
(csum_stuff_off << 21));
}

local_irq_save(flags);
if (!spin_trylock(&gp->tx_lock)) {
if (!spin_trylock_irqsave(&gp->tx_lock, flags)) {
/* Tell upper layer to requeue */
local_irq_restore(flags);
return NETDEV_TX_LOCKED;
}
/* We raced with gem_do_stop() */
Expand Down

0 comments on commit 61e0759

Please sign in to comment.